Shape 5

Wordpress Club Themes => Political - Club => : pshark August 16, 2011, 02:11:30 PM



: How I can add a separate page for Blog (posts)
: pshark August 16, 2011, 02:11:30 PM
Hello,

How can I add a new page (Blog) and have all of the posts list in this newly created page instead of on the home page?

Thanks

Paul


: Re: How I can add a separate page for Blog (posts)
: Tristan Rineer August 16, 2011, 04:16:47 PM
That ability is part of Wordpress core capabilities.  This link should provide the answer you're looking for:

https://codex.wordpress.org/Creating_a_Static_Front_Page


: Re: How I can add a separate page for Blog (posts)
: pshark August 18, 2011, 04:13:02 PM
Thank You, those instructions worked just fine...

Now I have two home buttons, how can I remove the default home button on the nav. I did some searches and tried different things, but none of them worked. I only see home on the functions.php & post-template.php, tried to edit them one at a time, but to no avail.

Much Appreciated!


: Re: How I can add a separate page for Blog (posts)
: Tristan Rineer August 19, 2011, 07:16:30 AM
To remove the extra "Home" link from the menu, edit "s5_Political/TTS_func/TTS_WP_FUNC.php".

Find all cases of:

:
      'show_home'         =>   'yes',       //Do you want to display the "Home" link?     

And change them to:

:
      'show_home'         =>   'no',       //Do you want to display the "Home" link?   



You may also have to change

:
if ($tags['show_home'] == ('yes'||'true'||'1')){

to

:
if ($tags['show_home'] === 'yes' || $tags['show_home'] ===  'true'|| $tags['show_home'] === '1'){

this will allow you to enable/disable the home by just changing the 2 lines mentioned above.



: Re: How I can add a separate page for Blog (posts)
: pshark August 19, 2011, 01:12:02 PM
I really appreciate you taking time out of your schedule today to help me out...

Thanks!