• I want to add a new page and call it ‘AFL’.

    On that page, I want all of my posts which feature ‘AFL’ content to show up as excerpts, similar to the way search results would appear. The page titles will be different to the Category titles. I do not have any category titles set up for “AFL’.

    Does anyone know how to do this?

    site: https://www.freebetreview.com.au/blog/

Viewing 3 replies - 1 through 3 (of 3 total)
  • cdukes

    (@walkinonwat3r)

    Use AFL as a category, clone your category.php file, and call it category-afl.php to override. Make all your edits in category-afl.php.

    Thread Starter Free Bet Review

    (@fbbr)

    Thanks Copper, although I’m not really sure what you are suggesting? Do I need to go back and re-categorise all of my posts?

    The posts are usually weekly and therefore feature all types of sports. I’d rather not have the same post categorised into 4-5 different categories.

    Is there a way of having relevant AFL posts appear on the new page without using categories?

    cdukes

    (@walkinonwat3r)

    Yes. If you want to group something, you have to designate what belongs in that group. In this case, list out your posts in the editor, check the ones that are AFL, and bulk add them to that category.

    Categories are intended to group content by its main ideas. It makes complete sense in many situations to use more than one category on a post…

    Other ways? You could do the same thing with a tag… You could also specifically style a search for “AFL” a certain way, but this would be so much more inefficient than just categorizing it…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add new page and show excerpts from search topic eg. 'AFL'’ is closed to new replies.