Tagged: avia, Blog, child theme, layout
-
AuthorPosts
-
July 1, 2015 at 12:03 am #466743
First I would like to compiment you on your Enfold theme. I have bought it 3 times and will probably buy it two more times next week.
I have a website with a blog. The first blog article I wrote in the standard editor:
http://www.envis.nl/10-handige-titel-tips-om-meer-bezoekers-naar-je-site-of-blog-te-trekken/
It has metadata in the top and social and comment section in the bottomThe third blog article I needed a gallery. The standard WordPress gallery I don’t like so I used your AVIA editor.
The result is beautiful but I noticed a few things. The featured image and title are missing. So I added those manually in the top. But a bigger problem is that the metadata in the top and the social and comment section in the bottom are missing.
http://www.envis.nl/3-handige-adresboek-tips-om-je-contactpersonen-beter-te-beheren-in-google-android-gmail/
I have made a copy of template-builder.php in my child theme. How can I change this file so the fullwidth featured image and meta data are shown in top and social and comment section are featured in the bottom:fullwidth featured image
title
AVIA content
social share (it’s a plugin)
commentsJuly 2, 2015 at 2:48 pm #467530Hi envis!
when using ALB for your posts you have all the freedom to design it the way you want, but it also means you have to use this freedom. So if you want to include featured image, metadata, etc. then you would need to manually add those elements with ALB.
Cheers!
AndyJuly 6, 2015 at 3:31 pm #468999When you say ALB, you mean like editing PHP files? Can you advise me how to add the top line where it mentions the author and date of last update?
July 6, 2015 at 4:11 pm #469057Hi!
ALB means Avia Layout Builder, the Enfold editing screens as opposed to the default WordPress editor.
You can use the following to add meta data to your post:
<span class="post-meta-infos"> <time class="date-container minor-meta updated" itemprop="datePublished" datetime="2014-04-28T19:39:19+00:00">April 28, 2014</time> <span class="text-sep text-sep-date">/</span> <span class="comment-container minor-meta"><a href="http://kriesi.at/themes/enfold/2014/04/28/new-electric-cars-are-getting-really-fast/#respond" class="comments-link">0 Comments</a></span> <span class="text-sep text-sep-comment">/</span><span class="blog-categories minor-meta">in <a href="http://kriesi.at/themes/enfold/category/science/" rel="tag">Science</a> </span> <span class="text-sep text-sep-cat">/</span><span class="blog-author minor-meta">by <span class="entry-author-link" itemprop="name"><span class="vcard author"><span class="fn"><a href="http://kriesi.at/themes/enfold/author/kriesi/" title="Posts by Kriesi" rel="author">Kriesi</a></span> </span> </span> </span> </span>
Please note that you will have to change the information manually though as there isn’t an element for this as of yet.
Cheers!
RikardJuly 7, 2015 at 2:01 pm #469646Is there an easy way to include the blog title and meta using the ALB? I don’t want to have to manually type code each time, but I also want to use the ALB. I don’t see an element in the ALB that I can drag for the title/meta. This would be a great addition :)
July 7, 2015 at 5:36 pm #469850Hey!
You could use the special heading element. For the meta you could use a textblock or codeblock element. If you need your post to display like a regular post then it would be best to use the default editor. The layout builder is for users who need complete control over how their post displays.
Best regards,
ElliottJuly 7, 2015 at 5:38 pm #469855Yes, I realise that – I want both! My client is not technical enough to be writing blocks of code. They want to use the AVB but at the same time they want the title and meta to show at the top.
Feature request: you should add ‘blog meta’ as a content element in the ALB, and make it so they can choose title, meta etc. :)
July 8, 2015 at 8:14 am #470056Hey!
I’m sure features like that will be added to the ALB for posts in the future, did you add the request already? If not, you can submit it here: https://kriesi.at/support/enfold-feature-requests/
Regards,
Rikard- This reply was modified 9 years, 5 months ago by Rikard.
-
AuthorPosts
- You must be logged in to reply to this topic.