Forum Support

Shape 5
April 21, 2021, 09:34:18 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: I would like to remove the pagination from the front page  (Read 645 times)
jbruster
Jr. Member
**
Offline Offline

Posts: 33



« on: 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
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: 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:

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

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
jbruster
Jr. Member
**
Offline Offline

Posts: 33



« Reply #2 on: 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.

 
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #3 on: 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/
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
jbruster
Jr. Member
**
Offline Offline

Posts: 33



« Reply #4 on: March 13, 2017, 12:15:19 PM »

How do you know the id for the post?
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #5 on: 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.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.