Forums

Creating Pages For Specific Type of Posts (6 posts)

  1. nysteve
    Member
    Posted 1 year ago #

    What I'm doing:

    Building a blog for my friend's start-up: http://glamourmill.com
    I'm currently using the default theme/temlate. I've created different pages based on the type/categories of posts she will create. I've also posted a test Youtube embed.

    Problem:

    Currently if I tag a post, and then click on a link of that tag, wp takes me to an excerpt page which has very short summaries of those posts and do not display the actual embedded video.

    Goal:

    She will be adding many types of posts, —just text, photos & videos and so forth. What I want to happen is that when one of her readers clicks on the link tag (ex. say 'video') or category (ex. 'video), I want them to be taken to a page that shows all posts that are tagged or categorized with (ex. video) in their full length (or at least show the embedded images and videos and cut off some text.

    Attempts:

    I have seen a few posts that suggest I search and replace all instances of the-excerpt and replace it with the-content:
    http://codex.wordpress.org/Function_Reference/the_excerpt
    But I have searched for that function within my current default (theme: Twenty Ten 1.1 by the WordPress team) archive and category php's, but come up short. Modifying them nevertheless has created endless loops that made my Firefox not like me very much.

    Parting Notes:

    I'm a complete beginner so bare with me if this problem is nothing less than an itch.

    Thanks in advance.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Don't edit the Twenty Ten theme! Your changes will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.

  3. nysteve
    Member
    Posted 1 year ago #

    Thanks for that helpful note Esmi, but regardless of what theme I use, any idea of how I can tackle my current issue?

    Kind Regards,

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You need to create a new tag template file in your child theme with its own Loop that uses the_content().

  5. nysteve
    Member
    Posted 1 year ago #

    Thanks again Esmi, looks like that did the trick, now making sure nothing else foobared in the process. Your help is very much appreciated.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    No problem :-)

Topic Closed

This topic has been closed to new replies.

About this Topic