• Hi!

    On my blog I have three pages across the top of my site – Home, About The Site, Album Reviews, and Interviews. Looking @ it on https://notmanyexperts.com may help you see what I’m going on about!

    Anyway, when I post an album review or an interview on my blog, is there any way to set things up so that a post that I tag “album review” automatically is added to the “Album Reviews” page? If you still don’t understand what I am trying to do, check out https://www.prettymuchamazing.com and look at the top of the page with Album Reviews etc etc, that’s what I’m trying to do!

    Many thanks for any help,

    Phil

Viewing 7 replies - 1 through 7 (of 7 total)
  • Yes, but you’ll need to edit some files: either your .htaccess or your theme’s (probably) header.php file.

    If you don’t want to edit your theme, open up your .htaccess file and add the following to the bottom:

    Redirect /?page_id=4 https://notmanyexperts.com/?tag=album-reviews

    So that’s one way, the other way is to edit your theme which would require reading and understanding the following articles:

    https://codex.www.ads-software.com/Editing_Files
    https://codex.www.ads-software.com/Template_Tags/wp_list_pages
    https://codex.www.ads-software.com/Template_Tags/wp_page_menu

    The first link will get you started with editing your theme’s files, though some level of comfort with HTML will be required.

    The second two will help you find the bit of PHP in your header.php (again, probably, where your info is at depends on your theme but that’s the best place to start looking) you need to edit. Look for wp_list_pages() or wp_page_menu() in that file and then proceed to alter that file using your newfound knowledge from the links above.

    If you get stuck, just post back here!

    Thread Starter notmanyexpertsphil

    (@notmanyexpertsphil)

    Many thanks! I’ll have a crack with the .htaccess idea

    Thread Starter notmanyexpertsphil

    (@notmanyexpertsphil)

    OK so I created a .htaccess file with that line of code in it, and uploaded it via and FTP client into the root directory of my site that also has the index.php file in it.

    However, I’m not seeing any changes (although all the album reviews are shown, that’s because I copied and pasted them into the page)

    Thread Starter notmanyexpertsphil

    (@notmanyexpertsphil)

    Sorry to be a pain, but does anyone have any idea how to fix this?

    Many thanks!

    Thread Starter notmanyexpertsphil

    (@notmanyexpertsphil)

    Really need to get my website running now – does anyone have any idea what’s going on with the .htaccess problem? OR should it work?

    Cheers,

    Phil

    I use the Thesis custom theme, which has this functionality, though it makes use of WP Categories rather than Tags. Say you have a Category called “Album Reviews” and every time you write a post that’s an album review, you assign the post in the Album Review category. Thesis allows you to create a page called “Album Reviews” which contains all of the posts in that category, with just a few clicks (no code changes needed).

    There may be other themes which provide similar functionality as well.

    (Take a look at https://www.lancebledsoe.com , the Data Junkie and Tech Geek pages.)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Possible to automatically add posts to Pages?’ is closed to new replies.