Forum Replies Created
-
AuthorPosts
-
Simon SelmerParticipant
Hi again
Well, I think I can conclude that your Theme does no support showing a static frontpage then.
I see other Themes being able to shown the Page that I select as being the Static Frontpage on the frontpage. It works in other Theme, and does not work on Blog Dairy Theme.So I guess we just have to conclude that Blog Dairy is not the right Theme for our website.
Thank you very much for all your support.
Regards Simon
Simon SelmerParticipantHi again
Did you get the document I created? Did you understand the issue that the selected Page, is not shown on the frontpage?Regards Simon
Simon 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
Simon 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’ );}
Simon 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
Simon 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
Simon SelmerParticipantHi
I have now sent the details to your mail
Thank you
Best Regards Simon
Simon 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.
Simon SelmerParticipantIn addition, can you help with CSS on customize font size and color on menu buttons/text?
Simon SelmerParticipantThis works, thank you 🙂
Simon 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/
Simon SelmerParticipantHi again
These does not seem to have any impact to the text on the pages.
Do you have another suggestion, or is there a theme setting that is overwritting this custom code?
Simon 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.
Simon SelmerParticipantHi
The code didn’t work at first, but removing the .single in front of them seems to have the correct effect.
Thank you
Simon SelmerParticipantHi, thank you.
This
div#page-site-header{
display:none;
}removes the whole breadcumb block, including the headline. Not just the the background picture.
Can you suggest the CSS to just remove the background picture please?
-
AuthorPosts