Hi @nikeo,
I am trying this with my child theme CSS and functions.php files, but for some reason it isn’t working. I’ve checked I’m not copying a space or line number accidentally but when I put it into the functions.php file it breaks. I’m testing this on my local copy first ??
Here’s the code in the functions.php file I have – wondering if something else is conflicting with this insertion?
Rob
<?php
add_filter('tc_credits_display', 'my_custom_credits');
function my_custom_credits(){
echo '<div class="span4 credits">
<p><b> <a href="mailto:[email protected]?subject=Enquiry from web site">[email protected]</a> - +64 (0)21 590 572</b><br>© '.esc_attr( date( 'Y' ) ).' <a href="'.esc_url( home_url() ).'" title="'.esc_attr(get_bloginfo()).'" rel="bookmark">'.esc_attr(get_bloginfo()).'</a> · <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_US"><img alt="Creative Commons License." title="All work on this site is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License." style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/3.0/80x15.png" alt="All work on this site is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License."/></a><br></p></div>';
}
function wpb_imagelink_setup() {
$image_set = get_option( 'image_default_link_type' );
if ($image_set !== 'none') {
update_option('image_default_link_type', 'none');
}
}
add_action('admin_init', 'wpb_imagelink_setup', 10);
add_filter('tc_menu_display', 'acub_menu_display');
function acub_menu_display($output) {
echo preg_replace('| class="dropdown-toggle" data-toggle="dropdown" data-target="#"(.+?)<b class="a-stripped"><a class="dropdown-toggle a-caret" href="#" data-toggle="dropdown" data-target="#"><b ',="" $output,="" -1);="" }<="" pre=""></a></b>