Shape 5

Wordpress Club Themes => Soul Search - Club => : jbruster March 11, 2017, 04:50:56 PM



: I would like to remove the pagination from the front page
: jbruster March 11, 2017, 04:50:56 PM
I would like to pagination for the post from the front page.  Does anyone have ideas on how to do this?

hcc1.haysvillechristianchurch.org

Thanks
Justin Bruster


: Re: I would like to remove the pagination from the front page
: Tristan Rineer March 13, 2017, 10:20:59 AM
It is possible to remove the pagination for the entire site, but not for only the home page.  If you are fine with removing it globally, you can remove the "[pagination]" shortcode from the following line of the theme-globals.php file in the theme folder:

:
	$s5_loop_tags['after_loop'] = '</div></div>[pagination]';


: Re: I would like to remove the pagination from the front page
: jbruster March 13, 2017, 10:47:03 AM
Tristan,

Are you tired of helping me yet jk.   Honestly thank you so much.   Here is what I am trying to do for the site.  On the front page I want to Video post for each sermon, but only one at a time.  But on the other category post from different menu items I do not care if it is in blog format one after another.  Does that make since?


Justin

Again thank you for helping me so much man.

 


: Re: I would like to remove the pagination from the front page
: Tristan Rineer March 13, 2017, 11:07:15 AM
Under "Settings -> Reading" on the WP admin menu, you can set the home page to be a static page, and just have the "featured" content on that page.

If you don't want to have to copy the featured content to the static page every time you change it, you can use the "Improved Include Page" plugin (which was included in the shaper) to "include" the featured content in the static page, just changing the target of the shortcode with each update, instead of having to change all the content.

Details about the plugin can be found on the WP repository page for it: https://wordpress.org/plugins/improved-include-page/


: Re: I would like to remove the pagination from the front page
: jbruster March 13, 2017, 12:15:19 PM
How do you know the id for the post?


: Re: I would like to remove the pagination from the front page
: Tristan Rineer March 13, 2017, 01:14:42 PM
You can use the "slug" of the post or page that you want to target.  If you want to use the actual ID, it'll be in the URL if you edit the page/post after it has been created and saved the first time.