Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #254209

    Hi,

    i want to do some changes to my website using child theme, for example:

    • i need to change “Blog – Latest News” to the category name in posts page
    • Remove: Date, Comments, and By Admin from different places in posts page
    • Remove Tags in posts page
    • Remove “Archive for category” in categories page
    • more..

    how can i change what ever i want? any tutorials?

    Thanks

    #254301

    Hey AmarMahallati!

    Thank you for using the theme!

    If you don’t mind, please open a single thread for each questions. It will be easier for us to answer your inquiries on that manner. Thanks!

    1.) Please use this on functions.php:

    add_filter('avf_title_args', 'single_blog_page_title', 10, 2);
    function single_blog_page_title($args,$id) {
    if( is_single() ) {
            $cat = get_the_category($id); 
            if(isset($category[0])) $args['title'] = $category[0]->cat_name;
    }
    return $args;
    }

    2.) Remove the post meta infos using this on Quick CSS or custom.css:

    span.post-meta-infos {
    display: none;
    }

    3.) Use this to remove the tags:

    .single span.blog-tags.minor-meta {
    display: none;
    }

    4.) Edit framework > php > function-set-avia-frontend.php, find this code on line 842:

    $output = __('Archive for category:','avia_framework')." ".single_cat_title('',false);
    

    I hope that helps.

    Regards,
    Ismael

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