GeraldS
Forum Replies Created
-
Dave, sadly it’s not that easy. See here:
Unlike style.css, the functions.php of a child theme does not override its counterpart from the parent. Instead, it is loaded in addition to the parent’s functions.php. (Specifically, it is loaded right before the parent’s file.)
That’s why at the top of functions.php theme developers are urged to use
(!if function_exists())enclosures for functions, so they can be overridden easily. Too bad the WordPress developers don’t heed their own advice.Forum: Fixing WordPress
In reply to: Importing iframes with the WordPress ImporterSo, I tried the suggested solution. The result wasn’t quite what I expected, I used the same content as before and the iframe got converted into an
<a href"">link.The code from the xml I posted above looked like this in the wordpress.com-blog:
<a href="http://www.youtube-nocookie.com/embed/HddnfmOzmcg?hd=1">http://www.youtube-nocookie.com/embed/HddnfmOzmcg?hd=1</a>Since these are the support forums, my guess is “here”.
But I added a link to this thread as a comment to the plugin announcement on the authors site.I have the same happening with <meta> Tags added by another plugin.
<meta property="og:title" content="Multimeter <span class="caps">DT9205A</span>"/>
The behaviour suggested above should be used in all <head> elements.Forum: Fixing WordPress
In reply to: broken admin barAfter updating to 3.1.3 I’m having a similar problem with my custom theme. The admin bar is there, it’s just the css that’s missing, but only on the front page. On every other page the admin bar is working.
I found several notes about wp_head(); and wp_footer(); but both are there.
index.php (admin bar not styled)
<?php get_header(); ?> [...] <?php get_footer(); ?>page.php (admin bar styled normally)
<?php get_header(); ?> [...] <?php get_footer(); ?>header.php
[...] <?php wp_head(); ?> </head> [...]footer.php
[...] <?php wp_footer(); ?> </body> [...]Actually on the index page the whole wp_head(); output is missing.
I don’t see any reason why the behavious should be different on this page. I’m out of ideas what I could check further.