Currently the logo link in enfold defualts to the “home page” of the wordpress install
However since I am running wordpress as a subdomain I would like to know how to change the default logo link to be able to link back to my sites main home page
also how can i remove the comment counts under the featured image in the post slider?
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
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
can you send me an example …with http://www.snapfon.com as the replacement url? the removing comments worked beautifully thank you!
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
Awesome man thanks again …worked perfectly!