Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #673851

    Hello,
    when I use the advanced editor enfold how I can put to display related posts?
    Thank you
    David

    #675157
    #677450

    Hi
    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
    David

    #677898

    Hi,

    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,
    Josue

    #679140

    I´m sorry
    I don´t understand
    regards
    David

    #679147

    Hey!

    Please add the code Josue posted above to functions.php file in Appearance > Editor

    Best regards,
    Yigit

    #681453

    and where is that?
    Can you tell someone like stepping is done?
    regards
    David

    #681469

    Hi!

    Please go to appearacen -> editor open the file functions.php and paste it to the end of the file.

    Thanks a lot

    Best regards,
    Basilis

    #683847

    Hi
    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.php

    regards
    David

    #684149

    Hi,

    As i said above, you should add the code to functions.php file.

    Best regards,
    Yigit

    #693197

    I already hit and nothing happens .. all the same, so far this has not been more than a waste of time …

    #694400

    Hi,

    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

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.