danielle_r
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Styling pages in a certain "category"Hi esmi,
Thanks for your quick response. I use a custom child theme for the twentyeleven theme. I kept most of the classes in place.
If I understand you correctly you suggest to use custom classes for the different subject in for example the page div? How/where would I indicate when to use other colour set?
Where can I find the body_class function?Thanks again, best,
Wow, I’ve managed to slove it. For anyone interested here is the solution:
got to wp-content/plugins/facebook-like-button/inc/buttons.inc.php On line 71 you see the <span class $Value[‘css’] etc.
Here you can add/hard code your style elements.
My javascript uses an id to toggle so the class name for me was of no use. I still wonder why the class is there if you can’t use it to manipulate the class through the style.css. But maybe I’m missing something?
Best, danielleForum: Fixing WordPress
In reply to: javascript in header not workingAfter trying all kinds of variations with enqueuing that didn’t work this did the trick for me:
if(is_singular()) { ?> <script language="javascript"> function test(){ alert("works!") } </script> <?php }
It’s in the header.php before the wp_head() call. I found this thread very helpful: https://www.ads-software.com/support/topic/how-to-load-specific-java-script-on-specific-page?replies=9
Hope this helps someone, danielle.Forum: Fixing WordPress
In reply to: javascript in header not workingno
Forum: Fixing WordPress
In reply to: javascript in header not workingHi esmi,
Thanks for your reply. I’ve looked there of course. Are you pointing me there because I’ve made a mistake? Because as far as I can see I’ve done as they explained in both cases…
The only thing that wasn’t working for me was php bloginfo(‘template_url’) The header.php is in a child template and using the bloginfo function would point to the parent template. So I’ve hard coded the url in.
Perhaps I should have mentioned earlier that the code does show, it just isn’t functioning.Thanks for any further help, danielle.
Forum: Plugins
In reply to: [HungryFEED] [Plugin: HungryFEED] [Plugin: hungryFEED] truncate not working?He verysimple,
You were right, there was some strange stuff in the shortcode. I removed it and now it works like a charm! Thanks very much for your help and the great plug-in. Best, danielle
Forum: Plugins
In reply to: [HungryFEED] [Plugin: HungryFEED] [Plugin: hungryFEED] truncate not working?Hi verysimple,
Yes, I have the latest version 1.5.9. The WordPress version I’m running now is 3.1.1. Maybe that’s an issue?
Any other suggestions? TIA, danielle