• (sorry, re-posting because of cannibal tags)
    Because this similar topic didn’t answer properly the question, I’d like to ask for help. I need to build a blog with two kind of pages: (1) an index page) with just headlines (meaning: titles with no content, linking to the full post page), and (2) the full post page (single post). No excerpts.
    The final layout structure is the index with just the title w/ permalink and the full post page with the title, the date, the author and the content.
    Is that possible with WP?
    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter nando

    (@nando)

    I’m sorry, I just can’t understand how to include the other post tags (author, date, etc) with the content that goes in the full post page. It’s really not clear for me in the thread 7047.

    Thread Starter nando

    (@nando)

    Let me try that. I wasn’t sure of some of the php syntax and I believe you already helped me. Thanks. (bbl)

    Every php page in https://faq.wordpress.net has the source in a viewable format. For example the source for view.php is viewsource.phps . You can access that page ( https://faq.wordpress.net/viewsource.phps ) and try to get some ideas as to how it is done over there

    Thread Starter nando

    (@nando)

    Just looked at the link from 2fargon and couldn’t find the key php code that Beel told me about it (the *if single* and *else* pieces). There’s just and *if cat* function, there’s pretty understandable – but not the explanation of how that code calls titles in the index page and full content single posts in the other pages (in this faq source page). I took a walk on the viewsource of other pages at the faq and couldn’t identify where the *if’s* were.
    I’ve tried using the exact code you gave me, Beel, but got some parse erros and the end of the wp loop. (?)
    Some specific questions ot use the *if* functions correctly:
    + the start_wp(); code to start the loop is the same?
    + What about its end (*endforeach; else:*)? The same too? (because I was getting some errors here)
    Please, I need help. Thanks.

    Thread Starter nando

    (@nando)

    Wow, thanks Beel. I just tried with your whole code and here’s what I got:
    Parse error: parse error, unexpected T_ENDWHILE in /home/personal/public_html/personal/dir/index.php on line 99
    I’m lost. There must be something I’m not getting, really.
    Any hint?

    Thread Starter nando

    (@nando)

    OK. Just changed the *t_endwhile* for the *endforeach* and that’s it.
    It’s working! THANK YOU, Beel. No, really, I mean: THANK YOU. ?? Merci beaucoup, grazzi, obrigado, gracias, arigato.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘headlines page (titles linking to content)’ is closed to new replies.