orangjul
Forum Replies Created
-
I am looking for the same thing. I am using the plugin with the “Advanced Custom Fields” Plugin, as well as the “Advanced Custom Fields – NextGEN Gallery Field” add-on plugin…so I cannot change the shortcode.
My client is wanting something like this:
https://www.oceanaresorts.com/hotels/anderson
With left and right arrows, captions and the little dots for controls.
Forum: Plugins
In reply to: Replace featured image with slideshow on some pagesActually, no I didn’t…not quite anyway. When no gallery is selected, it shows nothing but the text “[Gallery not found]”. I need it to show a static image if there is no gallery selected. I’ve tried rewriting the code so that it shows a static image if the gallery id is equal to null, but it’s not working. Can anyone tell me how to correct this:
<?php //Go get the gallery ID - determined by the drop down on the page editing screen if (get_field ('nextgen_gallery_id') ) { $nextgen_gallery_id = get_field ('nextgen_gallery_id'); //If gallery ID does NOT equal null, display the slideshow if ($nextgen_gallery_id != '') { echo nggShowGallery( $nextgen_gallery_id[0] ); } } else { // Show default static image ?> <img src="<?php header_image(); ?>" alt="" /> <?php } ?>
Forum: Plugins
In reply to: Replace featured image with slideshow on some pagesGot it, thanks for the tip. I’ve updated my code to remove all the !importants and it is working just fine.
Thanks for the suggestion! I’ve been able to test everywhere but IE7, still working on that…do you know if that method generally works in IE7?
Also, what is your recommendation for overriding the CSS in the plugin? I’ve been adding style rules to my main theme’s stylesheet, but I’ve had to use the !important value a ton of times. Is there a better way of doing this?
Thanks again!
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] [Plugin: Lightbox Plus] fatal errorDid you find a solution for this? I have it installed on several sites with WP 3.1 and it works fine, except for one site that is hosted somewhere else…makes me think it’s some kind of server setting.
Forum: Plugins
In reply to: WPML and CSS per languageIn case any body cares, I found the answer. You have to add this to your functions.php file:
<?php add_filter('body_class', 'append_language_class'); function append_language_class($classes){ $classes[] = ICL_LANGUAGE_CODE; //or however you want to name your class based on the language code return $classes; } ?>
Forum: Plugins
In reply to: [Next Page] next-page plugin – ONE page not appearing in correct orderHey Thanks Allan! It worked like a charm!
Forum: Plugins
In reply to: [Next Page] next-page plugin – ONE page not appearing in correct orderI have also tried using this plugin:
https://www.ads-software.com/extend/plugins/next-page-not-next-post/and added the code from:
https://codex.www.ads-software.com/Next_and_Previous_Linksand have gotten the same results. Very weird.
Forum: Plugins
In reply to: Problem with clear:both in Lightbox Plus gallerySo after doing some thinking about it I switched my sidebar and my content in the code and adjusted the position of each with CSS…that seems to solve the problem!
Forum: Plugins
In reply to: All in one SEO -missing home page title, descriptionDid you get this resolve?
I am having the same issue on one of my sites.
Forum: Fixing WordPress
In reply to: Image title tag overwritten by image file name, alt tag emptyFWIW, my theme is based off of twenty ten
Forum: Fixing WordPress
In reply to: Want featured image to replace header image on blog indexI started with Twenty Ten and modified it.
I don’t want the blog homepage to use the default header image. I want it to use the featured image I choose for that page. It works for all regular pages, but since this particular page is set to display posts instead of regular content, it’s not cooperating and it still shows the default header image.
I know I could probably hard code this to work properly but I’d rather do it with a conditional tag if possible.
Forum: Fixing WordPress
In reply to: Want featured image to replace header image on blog indexOops I mean:
if ( (is_singular() || (is_home()))
Forum: Fixing WordPress
In reply to: HELP! Site has been hacked, never seen this beforeWe restored the site to a back-up from yesterday, but that does not get to the bottom of the issue. Anyone familiar with this hack?