jazzatomo
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Customizr] Missing Author and Updated in Google Webmaster toolsWould a similar version of the same code be able to fix the common title and date errors as well?
It seems to be something all users of customizr will have to deal with if they use analytics
Forum: Themes and Templates
In reply to: [Customizr] Changing Logo Link Error (Snippet not working)Thanks that worked perfectly.
Forum: Themes and Templates
In reply to: [Customizr] Changing Logo Link Error (Snippet not working)not anymore, I am running a custom FB button, some slider mods and a couple of other things I haven’t labelled properly at this stage.
That’s my whole functions.php, although as I keep modifying the site it grows and shrinks.
<?php add_filter('tc_logo_title_display', 'change_site_main_link'); function change_site_main_link($output) { return preg_replace('|href="https://1742455934529.netau.net/|', 'href="https://www.wiltronics.com.au/', $output); } // set the whole slider as a single animated button. Removes call to action add_action('wp_head' , 'link_whole_slide'); function link_whole_slide() { //sets the slider image link add_filter('tc_slide_background' , 'my_slide_link', 10, 2); function my_slide_link( $slide_image , $slide_link) { //sets the slider image link return sprintf('<a href="%1$s">%2$s</a>', $slide_link, $slide_image ); } //wraps the slider caption in the same link as the call to action button ?> <script type="text/javascript"> jQuery(document).ready(function () { ! function ($) { //prevents js conflicts "use strict"; $( '.carousel-caption' ).each(function( index ) { var link = $( this ).find('a').attr('href'); $(this).wrap('<a href="'+link+'"></a>'); }); }(window.jQuery) }); </script> <?php } // Stop slider pausing on mouse hover add_filter( 'tc_stop_slider_hover','my_slider_hover_value'); function my_slider_hover_value() { return false; } //we hook the code on the wp_head hook, this way it will be executed before any html rendering. add_action ( 'wp_head' , 'move_my_slider'); function move_my_slider() { //we unhook the slider remove_action( '__after_header' , array( TC_slider::$instance , 'tc_slider_display' )); //we re-hook the slider. Check the priority here : set to 0 to be the first in the list of different actions hooked to this hook add_action( '__before_footer' , array( TC_slider::$instance , 'tc_slider_display' ), 0); }
Forum: Themes and Templates
In reply to: [Customizr] Changing Logo Link Error (Snippet not working)Yes, I am placing it at the bottom of my current child theme
Origionally it was in a core, but I decided to finally make the switch.
Either way, it appears that the result is the same.
Forum: Themes and Templates
In reply to: [Customizr] issue centering the title of the pages.Resolved. Thanks.
Forum: Themes and Templates
In reply to: [Customizr] issue centering the title of the pages.Sorry Scratch that it did work. Thanks a lot.
Forum: Themes and Templates
In reply to: [Customizr] issue centering the title of the pages.Thanks for the attempt but it didn’t seem to work.
I just wish I could work on my home computer instead of the work one :/
Forum: Themes and Templates
In reply to: [Customizr] issue centering the title of the pages.DAMNIT the code tags didn’t work. Sorry about that :/