-
AuthorPosts
-
August 17, 2016 at 7:49 pm #673851
Hello,
when I use the advanced editor enfold how I can put to display related posts?
Thank you
DavidAugust 21, 2016 at 4:49 am #675157Hey davidyasyit,
Refer to my answer here:
https://kriesi.at/support/topic/comments-and-related-entries-missing-when-post-edited-in-advanced-editor/#post-511900Best regards,
JosueAugust 25, 2016 at 11:49 am #677450Hi
I tried what it says @tobias-b-conrad :
“easy solution comes here:
Style in advanced editor and save.
change to standard editor and save.
That brings you comments, related posts, …”but it does not work.
posts are related but not seen everything that previously did with the advanced editor.How do you do exactly?
regards
DavidAugust 26, 2016 at 4:11 am #677898Hi,
I think he’s referring to using the ALB content as raw shortcodes, you can do that by enabling debug mode and copying the generated shortcodes from ALB in the normal editor:
add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; }
Best regards,
JosueAugust 29, 2016 at 8:47 pm #679140I´m sorry
I don´t understand
regards
DavidAugust 29, 2016 at 8:58 pm #679147Hey!
Please add the code Josue posted above to functions.php file in Appearance > Editor
Best regards,
YigitSeptember 2, 2016 at 8:00 pm #681453and where is that?
Can you tell someone like stepping is done?
regards
DavidSeptember 2, 2016 at 9:52 pm #681469Hi!
Please go to appearacen -> editor open the file functions.php and paste it to the end of the file.
Thanks a lot
Best regards,
BasilisSeptember 8, 2016 at 7:01 pm #683847Hi
Which of these sites have to paste the code?
Plantillas
Error 404 (página no encontrada)
(404.php)
Archivos
(archive.php)
Plantilla de autor
(author.php)
Comentarios
(comments.php)
config.php
(config-bbpress/config.php)
config.php
(config-events-calendar/config.php)
event-mod-css-dynamic.php
(config-events-calendar/event-mod-css-dynamic.php)
config.php
(config-gravityforms/config.php)
config.php
(config-layerslider/config.php)
config.php
(config-templatebuilder/config.php)
admin-import.php
(config-woocommerce/admin-import.php)
admin-options.php
(config-woocommerce/admin-options.php)
config.php
(config-woocommerce/config.php)
woocommerce-mod-css-dynamic.php
(config-woocommerce/woocommerce-mod-css-dynamic.php)
config.php
(config-wordpress-seo/config.php)
config.php
(config-wpml/config.php)
dynamic-css.php
(css/dynamic-css.php)
Pié de página del tema
(footer.php)
forum.php
avia_framework.php
(framework/avia_framework.php)
functions-enfold.php
Funciones del tema
(functions.php)
Cabecera del tema
(header.php)
error404.php
(includes/error404.php)
helper-conditional-megamenu.php
(includes/helper-conditional-megamenu.php)
helper-main-menu.php
(includes/helper-main-menu.php)
helper-markup.php
(includes/helper-markup.php)
helper-post-format.php
(includes/helper-post-format.php)
helper-responsive-megamenu.php
(includes/helper-responsive-megamenu.php)
helper-social-media.php
(includes/helper-social-media.php)
helper-template-logic.php
(includes/helper-template-logic.php)
loop-about-author.php
(includes/loop-about-author.php)
loop-author.php
(includes/loop-author.php)
loop-comments.php
(includes/loop-comments.php)
loop-index.php
(includes/loop-index.php)
loop-page.php
(includes/loop-page.php)
loop-portfolio-single.php
(includes/loop-portfolio-single.php)
loop-search.php
(includes/loop-search.php)
related-posts.php
(includes/related-posts.php)
Plantilla de la página principal
(index.php)
Página simple
(page.php)
Resultados de la búsqueda
(search.php)
Formulario de búsqueda
(searchform.php)
Barra lateral
(sidebar.php)
single-portfolio.php
Entrada individual
(single.php)
Plantilla de etiqueta
(tag.php)
taxonomy-portfolio_entries.php
Archives Plantilla de Página
(template-archives.php)
Blank – No Header, no Footer Plantilla de Página
(template-blank.php)
template-builder.phpregards
DavidSeptember 9, 2016 at 12:58 pm #684149Hi,
As i said above, you should add the code to functions.php file.
Best regards,
YigitSeptember 29, 2016 at 4:06 pm #693197I already hit and nothing happens .. all the same, so far this has not been more than a waste of time …
October 3, 2016 at 4:38 am #694400Hi,
Please post the WP login details and the FTP credentials so that we can apply the modifications. Or you can add the related posts as shortcode. Do the following:
1.) Go to the Appearance > Editor panel.
2.) Look for the Theme Functions (functions.php) file.
3.) Insert the following code at the very bottom of the file.add_shortcode('avs_related_entries', 'avs_related_entries_callback'); function avs_related_entries_callback() { //show related posts based on tags if there are any get_template_part( 'includes/related-posts'); }
4.) Edit one of the posts where you want to display the related posts. Insert a text block then add the following shortcode.
[avs_related_entries]
5.) Make sure that there are posts with the same tags.
// https://kriesi.at/support/topic/posts-avia-builder/#post-667531
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.