Tagged: advanced layout builder, comments
-
AuthorPosts
-
June 23, 2013 at 11:17 am #25237June 24, 2013 at 4:57 am #126192
Hi,
You say that nobody has answered you regarding the addition of comments to portfolio items. I dispute that statement.
My answer on the post you mentioned has been up for over a week ( https://kriesi.at/support/topic/comments-dont-show-up-on-portfolio-pages#post-117921 ) . I even searched the support forum for this issue, and found one or two related questions from the past to which I added my answer.
Since you didn’t answer , I assumed that it worked and all is well. I tested that answer 1 week ago, and it worked and I tested it today and it still works.
http://www.clipular.com/c?8141160=iY_xLmDbL-ACnNW_FY56IdiJd_k&f=.png
I am going to test the code I put on gist again since for me it allowed posts to have the advanced builder without losing the meta data and comment form. I will test it again now, but as I explained, I didn’t have the opportunity to test it with every blog customization. Are you sure you installed it? By messes up your layout can you provide a url so that I can see the problem and fix it.
Thanks,
Nick
June 24, 2013 at 5:20 am #126193Hi Nick,
i never wrote “nobody has answered you” – I wrote: the two problems are unsolved for me – this was my first post concerning this problem?!
As you can see in my post: I read all (hopefully) comments here about this problem – none of the solutions works for me.
I did nothing special to customize the theme – no changes to the templates, minor custom CSS changes.
The fix for the portfolio pages was just a test – I’m looking for a solution to get the comments back on regular posts.
With the code you posted on GIST it looks like:
http://www.ready-made.de/diy-a-bag-for-my-pedal/
(I will leave the page there for some time, then I restore the old template-builder.php again)
Thanks for your support.
Detlef
June 24, 2013 at 5:59 am #126194Hi,
Excellent. Now we can get it all fixed up. Meanwhile you can look on that post , as I changed my answer based on your feedback.
The code from gist you are using must be missing some closing divs since based on the layout shift, there are too many open div’s with no matching closing div’s since if its the other way around, usually the contact form starts moving to the right, while yours is moving to the left.
Doing a quick count on your page, there are 116 opening divs and 115 closing divs . Now its just a matter of comparing your structure to my local one to figure out where the extra div came from and why. Hang on.
Nicik
June 24, 2013 at 8:23 am #126195Hi,
Ok I updated it
It’s definitely not going to be an exact duplicate of how the posts looked without the builder attached to posts. I don’t think that even matters , since visitors don’t know how your site may have looked, so there is no nostalgia. Please let us know how its doing.
Thanks,
Nick
June 24, 2013 at 9:07 am #126196Hi Nick,
just posted the new code from GIST – looks much better – nearly perfect – only the second “post-meta” line is missing the correct styles.
Thanks for the support!
Detlef
June 25, 2013 at 6:05 am #126199the solution for me now is:
I removed everything after
echo "<div class='entry-content clearfix main_color {$post_format}-content'>";
until
echo '</span>';
echo '</span>';So now there is no meta on top of the post – this looks OK – I would like to include the meta, but only inside the “container_wrap” DIV.
Thanks for your help and hopefully your patch will make it into the next release.
Cheers,
Detlef
June 25, 2013 at 10:39 am #126200Hi,
My final version. This one takes care of all problems. https://gist.github.com/meishern/bfbf909055e7b967dd5b
Things to keep in mind:
* The functionality : big / small /multi-author blog will not work with the above modification with advanced template posts. Since you can add whatever image/slider you want to the individual post of any size using the advanced template builder elements, I didn’t waste time on it. If you add a featured image to the post, it will be visible on the main blog page but then you can replace it with a different image for the individual post, or have no image at all or have a slider.
Thanks,
Nick
-
AuthorPosts
- The topic ‘Avia Layout Builder elements in posts, comments are missing’ is closed to new replies.