Support ForumInserting page breaks in blog page/blog post pages – Support Forum https://support.ishyoboy.com/forums/topic/inserting-page-breaks-in-blog-pageblog-post-pages/feed/ Sun, 05 May 2024 09:56:31 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/inserting-page-breaks-in-blog-pageblog-post-pages/#post-8774 <![CDATA[Inserting page breaks in blog page/blog post pages]]> https://support.ishyoboy.com/forums/topic/inserting-page-breaks-in-blog-pageblog-post-pages/#post-8774 Thu, 18 Jun 2015 14:29:06 +0000 arlinelyons Hello IshYoBoy,

Thank you very much for the MiniCorp theme, I got it a while ago and still love it.

I’ve recently added a blog to my site but have not been able to figure out how to put a page break on the main blog page or any of the posts. I assume I’ll have to modify one of the template PHP files, but I just can’t see where or how.

My site is here: https://arlinelyons.com/

I have a page break underneath the main menu area and above the footer (using [page_break full-width=”yes”][/page_break]).

I’d like to have the same thing on the main blog page and for all blog posts, e.g.:
https://arlinelyons.com/blog/

The true cost of low prices

Is that possible?
If so, where and how can I add the page breaks so they appear in the same way as the page breaks on the normal pages?

Any advice most appreciated!

Many thanks
Arline

]]>
https://support.ishyoboy.com/forums/topic/inserting-page-breaks-in-blog-pageblog-post-pages/#post-8778 <![CDATA[Reply To: Inserting page breaks in blog page/blog post pages]]> https://support.ishyoboy.com/forums/topic/inserting-page-breaks-in-blog-pageblog-post-pages/#post-8778 Fri, 19 Jun 2015 06:28:20 +0000 IshYoBoy Hey Arline,

Thank you very much for the detailed explanation. The problem is absolutely clear.

The files you would have to amend are:
wp-content/themes/minicorp/home.php
wp-content/themes/minicorp/single-post.php

You need to manually insert page break. Meaning you have to use this PHP code:
echo do_shortcode('[page_break full_width="yes"][/page_break]');

Please make sure it is in the same “div” HTML element where the_post is being output. E.g. for the top part a good place would be right after:

ishyoboy_show_breadcrumbs();

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/inserting-page-breaks-in-blog-pageblog-post-pages/#post-8831 <![CDATA[Reply To: Inserting page breaks in blog page/blog post pages]]> https://support.ishyoboy.com/forums/topic/inserting-page-breaks-in-blog-pageblog-post-pages/#post-8831 Thu, 25 Jun 2015 09:29:30 +0000 arlinelyons Hello IshYoBoy,

Apologies for the late reply.

I’ve added the PHP code to the single-post.php, home.php and page.php templates and it’s working beautifully, thank you very much!

All the best,
Arline

]]>
https://support.ishyoboy.com/forums/topic/inserting-page-breaks-in-blog-pageblog-post-pages/#post-8832 <![CDATA[Reply To: Inserting page breaks in blog page/blog post pages]]> https://support.ishyoboy.com/forums/topic/inserting-page-breaks-in-blog-pageblog-post-pages/#post-8832 Thu, 25 Jun 2015 09:39:45 +0000 IshYoBoy Hi Arline,

We’re very happy to hear that! Glad we could help!

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>