chrismou
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Font and customization in ModmatHi
To change the header font, open style.css and look for line 70, that begins:
h1.blog-title, h2.blog-title
just after the first { , enter something like
font-family:arial;
(or whatever you want the font to be. But remember people will only see the font if they have it on their PC, so stick with something generic.To change the header colour, again look in style.css for line 80 that begins:
div#header
Where is says
background:#000000 url(headers/defaultheader.gif) no-repeat scroll right top;
, the 000000 represents the colour black in hex. If you change that to another hex code, the header colour will change (see https://www.crispgraphicdesign.com/hexcolorchart.gif for examples).Hope this helps!
Forum: Fixing WordPress
In reply to: add_action passing parametersOops, sorry I meant to address that to hakre ??
Forum: Fixing WordPress
In reply to: add_action passing parametersJaysonng
I think he’s asking the following (I hope, because I’m looking for the same information…!)
In the following example:
function email_friends($post_ID) { $friends = '[email protected], [email protected]'; mail($friends, "sally's blog updated" , 'I just put something on my blog: https://blog.example.com'); return $post_ID; } add_action('publish_post', 'email_friends');
You’re specifying that during the
publish_post
action, you should run theemail_friends
function.But how do you pass the $post_ID parameter to the function? Theres nowhere to pass a parameter within
add_action('publish_post', 'email_friends')
. So where is it pulling the $post_ID from??Forum: Plugins
In reply to: [Plugin: Facebook Dashboard Widget] doesn’t work for meSorry Trigmed, Ive just noticed you’re using WP 2.3.3
It does clearly say on the plugin homepage, the plugin options page, the extend page, etc, that this is a WP 2.5+ plugin. Perhaps try it again once you’ve upgraded?
Forum: Plugins
In reply to: [Plugin: Facebook Dashboard Widget] doesn’t work for meWhat error are you getting?
And what version on WordPress are you using?
Forum: Plugins
In reply to: Incorrect version number on PluginGotcha! Well spotted ??
Thanks for getting back to me!