Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • Fantastic! You really helped me!!!!
    Thank you very much :))))))
    Lorenzo

    Thank you for your kind assistance, but now in ALL the articles appears the same name: Lorenzo Paolini.
    Lorenzo Paolini is me, the admin of the site, but we need that in the same position will appear the name of the single Author of the article.
    For instance, for the article “Il marketing dell’Anima” Author is “Piero Priorini”:
    Thank you for your cooperation

    toc toc…. I sent access data, any news? thanks

    Thank you for help:

    • This reply was modified 5 years, 11 months ago by Victoria.

    I had to remove the script you suggested because it causes errors in scrolling the menu. If you can help me do it, it’s useless for me to wish me luck … …

    I inserted from line 729 the script as you suggested, I also cleared the cache, but nothing changes. I enclose final part of functions.php by copying it from line 686 to show you what I have done.
    ————————————
    * Remove the default shortcode function, we got new ones that are better ;)
    */
    add_theme_support( ‘avia-disable-default-shortcodes’, true);

    /*
    * compat mode for easier theme switching from one avia framework theme to another
    */
    add_theme_support( ‘avia_post_meta_compat’);

    /*
    * make sure that enfold widgets dont use the old slideshow parameter in widgets, but default post thumbnails
    */
    add_theme_support(‘force-post-thumbnails-in-widget’);

    /*
    * display page titles via wordpress default output
    *
    * @since 3.6
    */
    function av_theme_slug_setup()
    {
    add_theme_support( ‘title-tag’ );
    }

    add_action( ‘after_setup_theme’, ‘av_theme_slug_setup’ );

    /*title fallback (up to WP 4.1)*/
    if ( ! function_exists( ‘_wp_render_title_tag’ ) )
    {
    function av_theme_slug_render_title()
    {
    echo “<title>” . avia_set_title_tag() .”</title>”;
    }
    add_action( ‘wp_head’, ‘av_theme_slug_render_title’ );
    }
    // new script
    add_action(‘wp_footer’, ‘ava_new_custom_script_masonry’);
    function ava_new_custom_script_masonry(){
    ?>
    <script type=”text/javascript”>
    (function($) {
    function a() {
    var masonry = $(‘.av-masonry-entry’);
    if(!masonry.length) return;
    masonry.each(function() {
    var cat = $(this).find(‘.ww-masonry-cat’);
    $(this).find(‘.ww-masonry-title’).prepend(cat);
    });
    }

    a();

    $(window).on(‘debouncedresize av-height-change’, function() {
    setTimeout( a(), 300 );
    });
    })(jQuery);
    </script>
    <?php
    }

    /*
    * register custom functions that are not related to the framework but necessary for the theme to run
    */

    require_once( ‘functions-enfold.php’);

    /*
    * add option to edit elements via css class
    */
    // add_theme_support(‘avia_template_builder_custom_css’);

    Ismael tells to add the following code:
    Replace the javascript with this:

    // new script
    add_action(‘wp_footer’, ‘ava_new_custom_script_masonry’);
    function ava_new_custom_script_masonry(){
    ?>
    <script type=”text/javascript”>
    (function($) {
    function a() {
    var masonry = $(‘.av-masonry-entry’);
    if(!masonry.length) return;
    masonry.each(function() {
    var cat = $(this).find(‘.ww-masonry-cat’);
    $(this).find(‘.ww-masonry-title’).prepend(cat);
    });
    }

    a();

    $(window).on(‘debouncedresize av-height-change’, function() {
    setTimeout( a(), 300 );
    });
    })(jQuery);
    </script>
    <?php
    }

    BUT I HAVE TO ADD THIS CODE, WHERE? Please specify in what file and in what position.
    Thank you

    Could you – at least – explain how to add the category before the title?
    Unfortunately all the post indicated did not provide a complete solution.
    Regards

    Dearv Victoria,
    the suggested post are not solving my particular case.
    I would like to add BOTH the category and the name of Author of the post, as per following example:

    CATEGORY Title of the post
    John Smith, Nov, 25, 2018

    Can you suggest a solution?
    Thanks
    (i added in the previous post the needed login data)

    in reply to: Changing font style in Enfold 4.5 does'nt work #1037492

    site: http://www.squitt.it
    admin: wp_2773633
    pw: viaCassia6

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