Forum Replies Created
-
Syahir-
Thanks so much. I’m still not quite there…
1. I don’t know what:
// Make sure the resulting image is assigned to the $image variable
means.
2. Do you have an example of the kind of script to use? Like a next gen thing or a jquery carousel thing? I mean is it like what I’d use on any other site or more specifically tailored to this purpose? If you can point to an example of a script I might use I’d appreciate it.
Seems like a lot of people would want that functionality. I know I can change the header image per post itself with the featured image being made bigger than the normal size, but, a category rotating relevant images would be even better.
Syahir…any help?
Hmmm…I think I would still need more guidance on how to implement. A plug in would be nice but I can’t find one out there.
Exactly, that’s my point. I don’t want to do that, which is how I have it set up now too. I also saw a post on this but have been almost back to the beginning of Graphene posts and didn’t find it.
I have a category called blog, and I will post the posts just to that category, I have that set up. But I want the header images to be different and rotate just from a particular group of images for that category, see what I mean?
Ok thanks Ken I’ll try it out.
Do you know what I mean about making one “section” be a “blog” and the rest of it look more traditional and not have a separate domain/graphene install (which is how I have it now but seems silly)
blog.juicytravels.com
Any suggestions for how to make this make the most sense?
Thanks
Or anything helpful here?
http://wordpress.org/support/topic/how-to-add-different-header-image-for-every-page?replies=31
What about something like this?
http://www.ruhanirabin.com/different-headers-in-different-categories-and-pages-wordpress/
Not sure how to apply it in Graphene though?
There must be some way to say “this folder of 20 header images should be randomly rotated for category ‘blog'”?
Will that plug in let me assign say a directory of 30 images to rotate randomly for an entire category, say, Blog category?
Syahir helped me with this one and suggested I do the following, which worked perfectly.
Add this to your child function.php file:
<?php
function graphene_filter_gettext( $translated, $original, $domain ) {
$strings = array(
'View full post' => 'Read More',
);
if ( ! empty( $strings[$original] ) ) {
$translations = &get_translations_for_domain( $domain );
$translated = $translations->translate( $strings[$original] );
}
return $translated;
}
add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );
function laura_sharethis (){
if(!(is_front_page())){
?>Make the Read More be whatever you want it to be.
Ya must be, hope so. Having previously been hacked seeing stuff like that really scares me 🙂
Thanks guys.
