Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: Masonry Element – Poor quality of images #1368271

    Hello, Ismael
    Thanks for your answers.
    Displaying the masonry with the 705 px width setting make things a little better, we are almost there. As asked in my revious message, could you tell me what the exact size the original pictures should be so that I can give my customers precise information about that? I deactivated the image compresssion on the thumbnails, it does not make any real difference…

    Another small problem we would like to solve: whenever we display a category and its articles/posts; we get the full display of the article and not the usual title and abstract and Read more display (see this example: https://aciege.org/category/offres-demploi/). I could not find where we can change this setting, could you please tell me how to do that in Enfold?

    Thanks in advance, have a nice day

    in reply to: Avia Page Builder and Custom Post type #1367621

    Hi, again
    While I was waiting for your answer, I tried to investigate a bit more to find the solution to my “advanced fieds not displaying” problem.
    I found out that to display these advanced custom fields, I needed to insert more code in the single.php file. This is the code:
    <div class=”infos-service”>

    • Collectivités : <?php the_field(‘collectivites’); ?>
    • Adresse : <?php the_field(‘adresse’); ?>
    • Téléphone : <?php the_field(‘telephone’); ?>
    • Courriel : <?php the_field(‘courriel’); ?>
    • Services et prestations : <?php the_field(‘services-et-prestations’); ?>
    • Missions autres que documentaires : <?php the_field(missions-autres-que-documentaires’); ?>
    • Rattachement hiérarchique : <?php the_field(‘rattachement-hierarchique’); ?>
    • Nombre de personnes dans le service : <?php the_field(‘nombre-de-personnes-dans-le-service’); ?>
    • Logiciel documentaire utilisé : <?php the_field(‘logiciel-documentaire-utilise’); ?>

    </div>

    I now have 2 questions:
    – I’m supposed to insert these lines in the single.php file but there is no such file in the Enfold Child Theme larger file. Should I insert these code lines in the regular Enfold file?
    – if so, my documentation (https://kinsta.com/blog/advanced-custom-fields/#display) tells me I should paste below the entry-content section… which does not exist in the Enfold single.php file. I’m pasting the whole file below, could you tell me where I need to paste the new code lines? Thanks in advance!

    <?php
    if( ! defined( ‘ABSPATH’ ) ) { die(); }

    global $avia_config;

    /*
    * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
    */
    get_header();

    $title = __(‘Blog – Latest News’, ‘avia_framework’); //default blog title
    $t_link = home_url(‘/’);
    $t_sub = ”;

    if( avia_get_option( ‘frontpage’ ) && $new = avia_get_option( ‘blogpage’ ) )
    {
    $title = get_the_title( $new ); //if the blog is attached to a page use this title
    $t_link = get_permalink( $new );
    $t_sub = avia_post_meta( $new, ‘subttenitle’ );
    }

    if( get_post_meta( get_the_ID(), ‘header’, true ) != ‘no’ )
    {
    echo avia_title( array( ‘heading’ => ‘strong’, ‘title’ => $title, ‘link’ => $t_link, ‘subtitle’ => $t_sub ) );
    }

    do_action( ‘ava_after_main_title’ );

    ?>

    <div class=’container_wrap container_wrap_first main_color <?php avia_layout_class( ‘main’ ); ?>’>

    <div class=’container template-blog template-single-blog ‘>

    <main class=’content units <?php avia_layout_class( ‘content’ ); ?> <?php echo avia_blog_class_string(); ?>’ <?php avia_markup_helper(array(‘context’ => ‘content’,’post_type’=>’post’));?>>

    <?php
    /* Run the loop to output the posts.
    * If you want to overload this in a child theme then include a file
    * called loop-index.php and that will be used instead.
    *
    */
    get_template_part( ‘includes/loop’, ‘index’ );

    $blog_disabled = ( avia_get_option(‘disable_blog’) == ‘disable_blog’ ) ? true : false;

    if( ! $blog_disabled )
    {
    //show related posts based on tags if there are any
    get_template_part( ‘includes/related-posts’ );

    //wordpress function that loads the comments template “comments.php”
    comments_template();
    }
    ?>

    <!–end content–>
    </main>

    <?php
    $avia_config[‘currently_viewing’] = ‘blog’;
    //get the sidebar
    get_sidebar();

    ?>

    </div><!–end container–>

    </div><!– close default .container_wrap element –>

    <?php
    get_footer();

    in reply to: Avia Page Builder and Custom Post type #1367588

    Hi, Ismael
    Thanks for your anwsers, things are slightly improving… but are still not fully functionnal.

    I installed the child theme and inserted the necessary code in the functions.php file. The custom post type can be displayed but only with its title and icon image. The advanced custom fields do not display at all… What is missing?

    Thanks in advance for your answer… I’m sure we are almost there!
    Take care

    in reply to: Avia Page Builder and Custom Post type #1367431

    Hi, Ismael
    Thanks for your message and your help.
    I read your documentation on the subject and am now faced with several problems.
    – I downloader the enfold child theme… but it damaged my whole lay out, causing bugs too. I came back to normal after half an hour work;
    – I can add the recommended snippet codes… but where exactly in the functions.php file? That file is quite dense and has 858 lines, I want to be sure of the exact location where I will paste the code without damaging this vital file.
    – If I understand the documentation properly, I need to paste 2 series of code:
    > first, the necessary code as I am not using a child theme :
    if(isset($avia_config[‘use_child_theme_functions_only’])) return;
    > then, the code used to display my custom post types:
    function avf_alb_supported_post_types_mod( array $supported_post_types )
    {
    $supported_post_types[] = ‘YOUR CUSTOM POST NAME’;
    $supported_post_types[] = ‘YOUR CUSTOM POST NAME’;
    return $supported_post_types;
    }
    add_filter(‘avf_alb_supported_post_types’, ‘avf_alb_supported_post_types_mod’, 10, 1);

    – The documentation also says a third series of code should be added for layout metaboxes (see below)… What are they? And again, where should I paste in the functions.php file?
    function avf_metabox_layout_post_types_mod( array $supported_post_types )
    {
    $supported_post_types[] = ‘YOUR CUSTOM POST TYPE’;
    return $supported_post_types;
    }
    add_filter(‘avf_metabox_layout_post_types’, ‘avf_metabox_layout_post_types_mod’, 10, 1);

    – last but not least: ‘YOUR CUSTOM POST TYPE’ should be replaced by what, the slug of my custom post type I guess?

    Thanks for your help, have a nice day

    in reply to: Can't login to get help from your support #1366607

    Hi,
    You can close this ticket for me.
    Thanks again for your help

    in reply to: Can't login to get help from your support #1365654

    Hi, Rikard
    I removed the debug mode instructions, everything seems to be fine.

    I had cancelled the extra administrator account, that’s why the door was closed!

    Thanks for your reactivity and your help

    in reply to: Can't login to get help from your support #1365601

    One last question: how did you set up the debug mode and how can I switch it off? I checked the wp-config.php file and found wp-debug was set on false…

    Thanks for this last tip

    in reply to: Can't login to get help from your support #1365592

    Hi, Rikarhgd

    Thanks for your help, I checked and everything seems to be working perfectly now.
    For my own understanding: where did the problem come from? Knowing the origin of it would help me in the future.

    Good evening and thanks again

    in reply to: Can't login to get help from your support #1365570

    Hi, Rikard

    Thanks for your suggestion. As mentioned above, I created an account for your intervention. I mention the necessary info again in the Private Content Section.

    Thanks for your help

    in reply to: Can't login to get help from your support #1365233

    Hi, Rikard
    Thanks for your anwser.
    I added the debug mode lines of code to our functions-enfold.php file but it doesn’t show anything.

    I tried with the functions.php file like this:

    function avia_disable_seo_analysis_delay_cb($classes) {
    $classes .= ‘ avia-seo-analysis-no-delay’;
    return $classes;
    }
    }
    //set builder mode to debug
    add_action(‘avia_builder_mode’, “builder_set_debug”);
    function builder_set_debug()
    {
    return “debug”;
    }

    /*
    * register custom functions that are not related to the framework but necessary for the theme to run
    */
    require_once( ‘functions-enfold.php’ );

    It does not display any bug.
    On your site, in case we do not use a child theme (which is the case), it says we should add this line of code:
    if(isset($avia_config[‘use_child_theme_functions_only’])) return;

    but I don’t know exactly where I should insert it in the functions.php file as I am not familiar with php… and I don’t want to make any mistake.

    Can you tell me how to do that?
    Thanks

    in reply to: Can't login to get help from your support #1365188

    Hi, Rikard

    Thanks for the info. I did manage to register, thanks for the tip.

    Check this page: https://aciege.org/les-ecoles-membres-de-laciege/#toggle-id-2
    This is a directory of the partner schools of our association. We used the accordion element of Avia Page Builder to register all the schools. Our problem is the following: whenever we enter an element of the accordion to enter some text or a picture; it seems to accept it but does not display it. Using Elementor helps us go round this problem, but it would be much more simple for our users to change their info directly in the accordion element.
    Could you help us solve this problem?
    Are there any known incompatibility of Avia Page builder with some plugins?
    For the record, here are the active plugins on our website: Akismet Anti-Spam / All In One WP Security / Classic Editor / Contact Form 7 / Easy Updates Manager / Elementor / Flamingo / Import Export WordPress Users and WooCommerce Customers / Jetpack / Leaflet Map / LoginWP (Formerly Peter’s Login Redirect) / MailPoet / Post Types Order / Really Simple SSL / Redirection / Regenerate Thumbnails / Restreindre l’accès utilisateur / Shortcodes Ultimate / User Menus / User Role Editor / Wordfence Security / WP-Optimize – Nettoyer, compresser, mettre en cache.
    Thanks for your help

Viewing 11 posts - 1 through 11 (of 11 total)