Home › Forums › Pro Themes › Blog Diary Pro › Static front page does not work
- This topic has 18 replies, 2 voices, and was last updated 4 years, 9 months ago by wensolutions.
-
AuthorPosts
-
January 27, 2020 at 9:04 am #114946Simon SelmerParticipant
Hi
Selecting a “Static page” as Frontpage, just displays an empty frontpage, no matter which existing page I select.Can you help?
January 28, 2020 at 2:07 am #114985wensolutionsKeymasterHello,
Everything is working fine on our side when we inspected the latest version of the theme. Regarding your query, after selecting the static page you have to select the page and post. You can also refer to the screenshot https://prnt.sc/qttvy0 and you have to set the front page following the path Admin Panel > Appearance > Customize > FrontPage and enable each section as per your requirement.
Hope this helps.
If you have further queries, let us know.
Thank you.
January 28, 2020 at 2:41 am #114989Simon SelmerParticipantHi
I have tried and tested and I cannot get the static page to work. No matter what I do, the body of the frontpage (between the menubar and the footer) is just empty.
Under Admin Panel > Appearance > Customize > FrontPage I have however disabled everything, because I do not what any posts or blogs. I have tried to enable them one by one, but I do not get the content of the static page chosen. Should I enable something here?
Under “Homepage Settings” I have set the static page I would like, and also chosen a “Posts page”. But for the “Post page” I have just chosen another static page. I have also clicked on “Add new page”, but nomatter what the frontpage is just blank.
I really dont want a “Posts page” as I just want ONE static page to be shown.Note, this website is not a blog. The website is just meant as static pages with information.
January 28, 2020 at 4:11 am #114998wensolutionsKeymasterHello,
After setting the static page then you have to enable the section from the customizer section and then only the frontpage will be filled with the section as shown in the demo.
Also, after enabling the section make sure to chose the post, category as per the option available to display on the front page.
For clear instruction please refer to below given doc link:
https://themepalace.com/?post_type=wp_documentation&p=104435&preview=true
Also can you please once provide your site URL so that we can inspect the issue further and help you?
Thank you.
January 28, 2020 at 5:02 am #115003Simon SelmerParticipantHi
Which section from the customizer section do I need to enable?
I see
Top Bar Nav
Slider
Featured Slider
Latest Posts
Must Read Posts
BlogThe link to the instructions is empty for this Blog Diary Pro. I get content for other themes, but not this one.
The website is http://laegernerolighedsvej.dk/
January 28, 2020 at 6:16 am #115058wensolutionsKeymasterHello,
To get the same set-up as the demo, you can try using ‘one-click demo import’.
Activate the ‘One Click Demo Import’ plugin which is recommended by the theme itself.
It can be imported using a one-click demo import plugin. You can import the demo content directly.
Import demo data following the path Appearance > Import Demo Data.
Click ‘import demo data’ as the screenshot shows https://prnt.sc/qtyhi4
You can then manually edit each content as per your requirement.
Refer to this documentation link for the proper guidance :
https://themepalace.com/instructions/themes/blog-diary-pro/
Hope this helps.
If you have further queries, let us know.
Thank you.
January 28, 2020 at 7:19 am #115215Simon SelmerParticipantHi
I have now installed the One Click Demo, imported the data from it.
Under “Frontpage settings”, a static page is selected. It was that already actually.
But if you see the website now, there is no content from any static page. It only shows all the “Blogs” as Business, Design, About me, Recent posts, which I want to remove later.
The first manu called “Forside” is the page I have selected as frontpage. It does have a headline and a few lines of text, but again it’s not shown ón the frontpage.
January 29, 2020 at 2:32 am #115298wensolutionsKeymasterHello,
Please provide your site login detail so that we can inspect the issue and give the precise fix.
Provide your details at wensolution[at]gmail.com
Regards.
January 29, 2020 at 3:06 am #115302Simon SelmerParticipantHi
I have now sent the details to your mail
Thank you
Best Regards Simon
January 29, 2020 at 5:52 am #115312wensolutionsKeymasterHello,
Thank you for providing the login details.
When we inspected your site, we found that you have all the features disabled which was the main problem. Here we added the pages, posts randomly and prepared a screen record which will surely help you to manually add pages as per your requirement.
https://www.loom.com/share/3de19a8cf8334b3fa78c123c89fc156e
Hope this helps.
If you have further queries, let us know.
Thank you.
January 29, 2020 at 6:04 am #115313Simon SelmerParticipantHi
Thank you for looking into this.
But it is still not working. It is still not displaying the page I have now renamed to “Forside – frontpage”. On this page I have some text saying “This is the page that should be used and displayed on the frontpage”, so this is what should be shown on the frontpage.
And I do not see that. If you see that, please send me a screenshot so I can see the result on your screen.
I DO hope that selecting a “static page” as Frontpage, means that I can select any existing Page I have, and that will be shown on the frontpage. Is that correctly understood?
Thank you in advance
January 29, 2020 at 3:08 pm #115330Simon SelmerParticipantHi again
I just tested to activate other Themes. I tried Astral, Bard and Magzee, and in all 3, my frontpage-Page was shown as expected.
I switched back to Diary Blog Pro, and the static selected frontpage is again not shown.
So I must conclude this is a Theme issue, not WordPress issue.
I hope you are able to debug on this.
Regards Simon
January 29, 2020 at 3:54 pm #115331Simon SelmerParticipantHi again again
From googling this a bit, I got the idea to look into the front-page.php file. From a simple test, I see that when the static page is selected, then the below code is executed.
Some of the functions I’m not sure what does exactly, but my guess from that code is that it ONLY gets the content from the settings enabled from Top Nav Bar, Slider, Featured Slider, Post and Blog.
I dont see anywhere in this code where the selected static page is actually fetched, but of course that could happen somewhere else that I cannot see.elseif ( blog_diary_pro_is_frontpage() ) {
$options = blog_diary_pro_get_theme_options();
$sorted = array();
if ( ! empty( $options[‘sortable’] ) ) {
$sorted = explode( ‘,’ , $options[‘sortable’] );
}foreach ( $sorted as $section ) {
add_action( ‘blog_diary_pro_primary_content’, ‘blog_diary_pro_add_’. $section .’_section’ );
}
do_action( ‘blog_diary_pro_primary_content’ );}
January 30, 2020 at 12:50 am #115353wensolutionsKeymasterHello,
We would like to apologize for the trouble but for your information, we are unable to understand your query as of now.
Can you please explain in detail and your requirement with the proper screen record so that we can give you precise help?
Thank you.
January 30, 2020 at 2:04 am #115357Simon SelmerParticipantHi
Sure, I now shared a Word-doc in my google drive here: https://drive.google.com/file/d/1flVpU9WFeW3Aje7bHPhhXbNV8IfZ2rsS/view?usp=sharing
It shows the Page I want to use as the static frontpage. It shows how that specific page is shown as frontpage when using another Theme, and it shows how the page is NOT shown when using Diary Blog Pro Theme.
Let me know what you find from this.
Regards Simon
-
AuthorPosts
- You must be logged in to reply to this topic.