Forum Replies Created
-
Mod
Your PHP is wonky. There’s no
includeorechostatement, you have closing PHP tags (?>) just after your function declarations, quotation marks are not escaped.Try taking a look at this post to see how to format these:
http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/
Mod
@John McCubbin:
Earlier I suggested you try Kalin’s Post List plugin to achieve this effect. It would require that you use use pages in a custom menu instead of categories (which is what I am gradually transitioning to; it makes a world of difference and is a lot easier to customise).
I created a test page that demonstrates this here: http://blog.kjodle.net/2012/02/16/test-post-for-john-mccubbin/
You say you know CSS, so I won’t go too heavily into the details of that. All you really need to do is to adjust the
.k_ul,.k_li,.k_a, and.k_a:hoverstyles from the plugin settings page.Take a look at that page, take a look at that tutorial, and if you try this and need some help tweaking it, let us know.
Mod
Thanks, Syahir! That did the trick!
1.6 is awesome, awesome, awesome.
You know, Graphene really needs a logo of some sort…
Mod
You can use the Widget Logic plugin to control the appearance of that widget, I believe.
Action Hook Widget Areas work in a child theme, btw.
You can use a conditional tag in PHP to control the placement of widgets. For example, instead of
if (is_front_page ())you can use
if (is_page( 42 ))to target just that page with an ID of 42. Likewise, you can use
if (is_page ( 'About Us' ))to target a page titled “About Us”.
You can read more about it in the codex:
http://codex.wordpress.org/Conditional_Tags
Have fun with this, but don’t lose too much sleep playing around with it.
Mod
The images come from here, BTW:
Mod
Okay, that’s a horse of a different color…
Just upload your header images in the “Header” pane. Once you have more than one, a radio button marked “Random” will appear. Activate it, and then save. Mischief managed!
I don’t use this, but you can see it in action on my test blog:
Mod
Yes, this is very possible using a Graphene Action Hook Widget Area. See my tutorial for easy to follow (I think) directions:
http://blog.kjodle.net/2011/11/04/graphene-action-hook-widgets-an-easy-way-to-modify-your-blog/
Mod
The code Prasanna gave you should work if you enter it in Graphene’s custom CSS area. But you are not using Graphene…..
Mod
Use Firebug to examine the element in question, and the size should appear in the CSS. See Josh’s video tutorial for a very clear explanation of how to do this. Trust me, it works!
Mod
Appearance >> Header and check the radio button marked “Random: Show a different image on each page.”
how do I save bandwidth by using my photobucket account (or other file host instead of wp)
I don’t know that this is possible, since the header images you upload are saved to the MYSQL database, and the header is designed to pull them from the database.
However, you can save bandwidth by using a caching plugin. To be honest, the default images supplied with Graphene aren’t that big, and so really wouldn’t be a bandwidth issue. As long as you keep your custom images to around 100 to 200 kb, you should be fine. (If your host restricts your bandwidth that much, you need a new host.)
