robcnz
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Customizr] Customizr header & footer stopped workingThanks @ rdellconsulting, I’ve tried deleting the files in the CT folder and leaving the style.css only but to no avail – still getting the same errors.
I’ve switched to an alternate theme in the meantime and will devote more time to this tomorrow.
I appreciate your help.
Forum: Themes and Templates
In reply to: [Customizr] Customizr header & footer stopped workingSorry I’ve had to change the theme template temporarily so that the site stays up – I have customers who will be looking at it.
I wonder if something went wrong with the WP main install files, as the errors appeared to be coming from the includes folder in the main /wordpress/ folder, and not the child theme?
Forum: Themes and Templates
In reply to: [Customizr] Customizr header & footer stopped workingCrikey – now my entire site has crashed and I can’t seem to get it up and running again.
The error I am getting is:
“exhausted (tried to allocate 71 bytes) in /home/learni67/public_html/wordpress/wp-includes/meta.php on line 578”I’ve tried taking out the child theme header.php and the meta.php files but that doesn’t work.
I’ve looked at the meta.php file and it has the following code in it:
// Force subkeys to be array type: if ( !isset($cache[$mpid]) || !is_array($cache[$mpid]) ) $cache[$mpid] = array(); if ( !isset($cache[$mpid][$mkey]) || !is_array($cache[$mpid][$mkey]) ) $cache[$mpid][$mkey] = array();
But I have literally no idea where to start, the line which the error refers to is the last one:
$cache[$mpid][$mkey] = array();
help!
Forum: Themes and Templates
In reply to: [Customizr] Customizr header & footer stopped workingDear rdellconsulting,
Thank you for that – I’m now back in and can post which is good. The footer is still broken. I’m guessing I need to completely re-make the functions.php file in the child theme?
Do you have any tips on how to do this? I’m a newbie and may have ‘overstretched’ myself in this somewhat!
Rob
Forum: Themes and Templates
In reply to: [Twenty Thirteen] Twenty Thirteen Header customisationBRILLIANT thanks @batharoy so much, is it possible to make the text for the title blocks centre on the tree logo?
Forum: Themes and Templates
In reply to: [Twenty Thirteen] Twenty Thirteen Header customisationhi @batharoy, here is the pastebin link here: https://pastebin.com/C5KwhbmF
Yes, the title links are in the header.php file
thanks
Forum: Themes and Templates
In reply to: [Twenty Twelve] Mobile device style not workingSure, this site of mine isn’t working properly on a mobile device. Basically what is happening is this:
- When I load it up on my iphone the first page is fine, as in this screenshot…
- When I tap the menu to go to another page, the content is shrunk, as in this screenshot…
I’m unsure how to fix this, I’m guessing that the mobile @media CSS is causing it but have no experience in using CSS to style for a mobile device.
Does this make sense?
Forum: Themes and Templates
In reply to: [Twenty Twelve] Mobile device style not workingHow do I do that?
Forum: Plugins
In reply to: [WordPress Menu Exporter] How do you import after exportingThanks Shawn
Forum: Themes and Templates
In reply to: [Twenty Twelve] Mobile device style not workingInteresting tool thanks for that, it changes on line 36 of header.php…. but problem is I”m not sure what to do from here once I’ve identified the differences!
I chose store for 1 day with this link…
Forum: Themes and Templates
In reply to: [Twenty Twelve] Mobile device style not workingFooter.php
Header.php
Style.css
Images/linkedin.pngForum: Themes and Templates
In reply to: [Twenty Twelve] Mobile device style not workingDone and doesn’t resolve the issue sorry ;-(
Forum: Themes and Templates
In reply to: [Twenty Twelve] Mobile device style not workingThanks @andrew that didn’t work however, the plugins are deactivated now
Forum: Themes and Templates
In reply to: [Customizr] Main nav menu not linkingHi @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>
Forum: Themes and Templates
In reply to: [Customizr] Moving menu on clickBrilliant thank you very much Nikeo, I am amazed at how quickly you can figure this stuff out!
Rob