Tagged: Blog, breadcrumbs, multilanguage, polylang, title
-
AuthorPosts
-
April 1, 2016 at 11:42 am #606601
Hi there,
The website for one of my clients is a multilanguage website using Polylang. On the blog page the Enfold title and breadcrumbs are not showing (see links to the blog pages of the development site in different languages below).
In this topic I can read that the solution would be to choose the home page and blog page through Enfold theme options in stead of WP settings (and which would be the normal thing to do). However, because this is a multilanguage website, this is not possible for this website. If I would do that, I would run into some major functional problems.
Is there any way to also show the title and breadcrumbs on the blog pages with these settings? It is not a life threatening issue, but it would be ‘nice’ to have the title and breadcrumbs on the blog pages too :-)
Thanks for your advise.
Regards,
MoniqueApril 1, 2016 at 2:04 pm #606660Hey Monique!
Do you mind creating a temporary admin login and posting it here privately so we can look into it?
Regards,
YigitApril 1, 2016 at 2:41 pm #606679Hi Yigit,
See below.
Thanks & regards,
MoniqueApril 1, 2016 at 3:10 pm #606702Hi!
You chose your frontpage and blog page in Settings > Reading. I canceled your selection there and chose in Enfold theme options. Please review your website now
Regards,
YigitApril 1, 2016 at 5:12 pm #606786Hi Yigit,
Like I mentioned before, that is not an option. By using the multilanguage plugin (Polylang and also WPML I believe), the pages are not rendered in a proper way! When using the Enfold settings, the home page(s) disappear completely and show the blog pages content in stead. And on the blog page(s) there is no content at all… Choosing the home and blog page(s) through WP settings is the only option to render the pages correctly.
I had to change it back to the settings like they were before. My client will go mad when she sees this so shortly before launching the website :-(
If you want to test the settings again to see what happens, please can you do so in the weekend (when the client is not watching)?
If you can find a solution within the current settings that would be great!
Regards,
MoniqueApril 4, 2016 at 5:47 am #607355Hi!
Edit index.php then look for this code around line 16:
if(avia_get_option('frontpage') && $blogpage_id = avia_get_option('blogpage'))
.. replace it with:
if($blogpage_id = get_option('page_for_posts'))
Cheers!
IsmaelApril 4, 2016 at 5:32 pm #607767Hi Ismael,
That works great! Thanks so much!
Just for my information. I’ve put the index.php file in the child theme now. Is this file often changed when updates of the theme are being processed?
Regards,
MoniqueApril 5, 2016 at 5:25 am #608029Hi,
It’s not changed all that often, but if you should have a problem with it at least you know where to look first now :-)
Best regards,
RikardApril 5, 2016 at 4:58 pm #608383Hi Rikard,
Yes of course. And the version.txt always tels us which files have been changed. Just something to remember ;-)
Thanks a lot and please flag this topic as closed.
Regards,
MoniqueApril 6, 2016 at 6:22 am #608678 -
AuthorPosts
- The topic ‘Enfold title and breadcrumb not showing on blog page (multilanguage)’ is closed to new replies.