• Resolved xiscomax

    (@xiscomax)


    Like podria to insert different content in index.php and single.php in my wordpress?

    Here I leave a graph like example of which I want to do
    https://www.webculos.com/downloads/single.gif

    I need that the content of index.php does not appear when entering single.php uses the label <! –more–> but not same me sirve for that reason.

    Salu2

Viewing 4 replies - 1 through 4 (of 4 total)
  • Don’t use “more”.
    Use the excerpt field for the index (and replace the_content tag with the_excerpt in the file).

    Thread Starter xiscomax

    (@xiscomax)

    Ok, Like inserting the images in index?

    I am not sure I understand your last question.

    What I described above is a clear solution:
    1. Always put the text + image that you want on your index in the Excerpt field when writing a post.
    2. Put the “single content” as usual in the post text input area.
    3. Make sure you have the_excerpt tag in the index Loop; and the_content in the single.php Loop.
    It should work.

    Thread Starter xiscomax

    (@xiscomax)

    xD thank you very much moshu, your information to served perfect, I hope to me to be able devolverte the favor.

    Thanks.

    Me cheered ace the Day. ??

    I feel my English, I am Spanish

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Different content in index.php and single.php ?’ is closed to new replies.