Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #232879

    Hello,

    I have couple of issues

    1. http://crescenthalal.com/category/crescent-recipes/whole-chicken-recipes/
    in the above page as you can see the the excerpt is showing the shortcode I want to hide the excerpt and just show the image and the title.

    2. http://crescenthalal.com/meyer-lemon-rosemary-roasted-chicken/

    in these recipe category page on the title its showing blog-latest news instead of the actual category how to fix it

    thanks

    #233069

    Hi Albulushi!

    How are you? I hope you’re doing well today.

    1.) Please add this on Quick CSS or custom.css to remove the shortcode:

    .slide-entry-excerpt {
    display: none;
    }

    2.) Please add this on functions.php:

    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id)
    {
        if ($args['title'] == 'Blog – Latest News')
        {
            $args['title'] = ucfirst(get_the_category($id));
            $args['link'] = get_permalink($id);
       }
        return $args;
    }

    Regards,
    Ismael

    #233308

    the css quickfix works but its showing archive of the category title as well how to remove that.

    and adding the function cause an error on site

    Parse error: syntax error, unexpected T_FUNCTION in /home/cresce19/public_html/wp-content/themes/enfold-child/enfold-child/functions.php on line 8

    #233565

    Hey!

    Can you post your Child functions.php file contents?

    Cheers!
    Josue

    #233831

    <?php

    /*
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    */

    #233885

    Hi!

    It didn’t copy well, try pasting it in Pastebin.

    Regards,
    Josue

    #233894

    thats the only code appears in the child function.php

    <?php

    /*
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    */

    #233900

    Hi,

    Can you create an administrator account and post it here as a private reply?

    Regards,
    Josue

    #233901
    This reply has been marked as private.
    #233903

    Hi!

    The user provided is not working.

    ERROR: The username or password you entered is incorrect.

    Regards,
    Josue

    #233911
    This reply has been marked as private.
    #233942

    Hi!

    It appears to be fixed the issue:
    http://crescenthalal.com/category/crescent-recipes/whole-chicken-recipes/

    Cheers!
    Josue

    #233950
    This reply has been marked as private.
    #234923

    Hey!

    You can change the text in the avia_which_archive function in framework>php>function-set-avia-frontend .

    Regards,
    Devin

    #234931

    anything on the the second issue ?

    #236739

    Hi!

    You can show the post title instead of the “Blog – Latest news” text. Insert this code at the very bottom of enfold/functions.php:

    
    add_filter('avf_title_args', 'fix_blog_page_title', 10, 2);
    function fix_blog_page_title($args,$id) {
    $args['title'] = get_the_title($id);
    $args['link'] = get_permalink($id);
    return $args;
    }
    

    to replace the default title.

    Best regards,
    Peter

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