Tagged: , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #188541
    #188544

    Hey matthewyunk!

    Please go to wp-content\themes\enfold\framework\php folder and open function-set-avia-frontend.php file and find

    $logo = "<$headline_type class='logo bg-logo'>

    You are going to see

    ".$link."

    in the same line. You should change it to your url

    Cheers!
    Yigit

    #188546

    to remove comment count; please go to wp-content\themes\enfold\config-templatebuilder\avia-shortcodes folder and open postslider.php file and find

    if ( $commentCount != "0" || comments_open($the_id) && $entry->post_type != 'portfolio')
    						{
    							$link_add = $commentCount === "0" ? "#respond" : "#comments";
    							$text_add = $commentCount === "1" ? __('Comment', 'avia_framework' ) : __('Comments', 'avia_framework' );

    and change it to

    //if ( $commentCount != "0" || comments_open($the_id) && $entry->post_type != 'portfolio')
    						{
    							//$link_add = $commentCount === "0" ? "#respond" : "#comments";
    							//$text_add = $commentCount === "1" ? __('Comment', 'avia_framework' ) : __('Comments', 'avia_framework' );

    Regards,
    Yigit

    #188560

    can you send me an example …with http://www.snapfon.com as the replacement url? the removing comments worked beautifully thank you!

    #188564

    Hi!

    You are welcome. You should find the line that starts with

    $logo = "<$headline_type class='logo bg-logo'>

    and change that line with the one here http://snipt.org/Bahhd9

    Cheers!
    Yigit

    #188584

    Awesome man thanks again …worked perfectly!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘change logo link in enfold & remove comment counts from post silder’ is closed to new replies.