Tagged: BlogPosting, single post
-
AuthorPosts
-
July 28, 2015 at 10:21 am #479568
Hi Guys,
first of all congrats for your nice Enfold theme, it’s a very helpful tool.
I’m having a weird problem with it, when I try to get some layout to the single posts in the website I’m working on. The thing is, that some items are missing when I save the single post page on wordpress using the Advanced Layout Editor, but only when I switch in this mode, if I switch back to the standard editor and save again the items will be back there.
When I look into the code it seems to be a problem on how both editors work with the single post, as the standard editor makes automatically an article out of it and gives the itemtype the value of a BlogPosting(schema.org), its source code will see like this:
<article class="post-entry post-entry-type-standard post-entry-6480 post-loop-1 post-parity-odd post-entry-last multi-big post-6480 post type-post status-publish format-standard hentry category-fachartikel-und-studien" itemprop="blogPost" itemtype="https://schema.org/BlogPosting" itemscope="itemscope">
And if I switch into the Advanced Editor and save it, without making any other changes, it’s no more an article but a div without the BlogPosting value and the share buttons as well as the icon picture aer gone, source code looks like this:
<div class="post-entry post-entry-type-page post-entry-6480">
Both the div and the article will be included in the main section, which has the itemtype value “..schema.org/Blog”
Can you help me with this? If you need more info I’ll be glad to help.
July 28, 2015 at 6:40 pm #479869Hey Ramin!
May we have temporary access to your website and a link to the exact page you are referring to, so we can take a closer look?
Best regards,
DakeJuly 29, 2015 at 9:46 am #480091Hi Dake,
I’ve set up a new temporary account for you to check our website.
Thank you in advance,
David.- This reply was modified 9 years, 3 months ago by cyquest.
July 30, 2015 at 8:45 am #480548Hi David,
That is the expected behaviour for post created with the ALB, you won’t get the standard items like sharing button etc., it’s more or less like a page which will show in your blog feed. It was created for people who want total control over their blog posts. If you want the “normal” look, then please use the standard editor. If you want to keep on using the ALB then you can mimic a lot of the behaviour in a regular post by adding the Social Share element for instance.
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.