rszczypka
Forum Replies Created
-
I see. I know the pain. Cheers. Good luck!
What version of GF do you have? I have 1.6.7.
@marcefx, sorry, I can’t see any issues with it. Before I was using only parent categories. Now I added a new category and chose a parent for it and in the frontend the dropdown displays it correctly, I can choose the new category and it saves it.
I’m using Drop Down field with the option ‘Populate with a Taxonomy’.@marcefx, what do you mean by subattributes? a child taxonomy?
@marcefx, works like a charm! Thanks a lot for sharing it with the rest of us!
The same issue here, this time with the WordPress Events Manager displaying its content in every instance of Smart WYSIWYG Blocks Of Content.
Any way to solve the problem?
Thanks for the plugin. It’s really great.
However I’m experiencing the same problem with my custom post type taxonomies like MarceFX.I found the same problem.
When you are in the static homepage then homepage item doesn’t have ‘current’ class applied.Forum: Plugins
In reply to: [Plugin: WordPress Navigation List Plugin NAVT] css class for ancestorAnother good thing to have would be the possibility to set link_before and link_after as it was introduced in WP2.7
link_before
(string) Sets the text or html that proceeds the link text inside a tag. (This parameter was added with Version 2.7)link_after
(string) Sets the text or html that follows the link text inside a tag. (This parameter was added with Version 2.7)Is that lot of work to do to add this?
Thank youForum: Themes and Templates
In reply to: [Plugin: NextGEN Gallery] Adding nextgen gallery in footerFor all interested. I have just found the solution to get the gallery name in the template file and don’t have to use the custom field. Here is the code:
<?php global $wpdb; $mygallerytitle = str_replace(" ", "-",strtolower(ltrim(wp_title(' ', false)))); $mygalleryID =$wpdb->get_var("SELECT gid FROM $wpdb->nggallery WHERE name = '$mygallerytitle'"); $footeralbum = '[gallery='.$mygalleryID.']'; $footeralbum = apply_filters('the_content', $footeralbum ); echo $footeralbum; ?>
Forum: Themes and Templates
In reply to: [Plugin: NextGEN Gallery] Adding nextgen gallery in footerHi WhisperT,
It works ok and I will use it when I don’t find the solution with gallery name.Thanks a million!
Forum: Themes and Templates
In reply to: [Plugin: NextGEN Gallery] Adding nextgen gallery in footerTo have the gallery linked with the page I used the code:
<?php $mygallerytitle = wp_title(' ', false); ?> <?php $footeralbum = '[gallery='.$mygallerytitle.']'; $footeralbum = apply_filters('the_content', $footeralbum ); echo $footeralbum; ?>
It works when the title is only one word eg. ‘About’ and I have a gallery name ”About but it doesn’t work when I have page name ‘About us’ and gallery name ‘About us’.
Is it any way to call the gallery by name or title?
Forum: Themes and Templates
In reply to: [Plugin: NextGEN Gallery] Adding nextgen gallery in footerThanks WhisperT!
It works perfectly!Forum: Themes and Templates
In reply to: [Plugin: NextGEN Gallery] Adding nextgen gallery in footerI see that I should use the nggShowGallery($galleryID) function so e.g.
<?php nggShowGallery(2) ?> but it doesn’t workI am beginner in php and can’t find how to access the function.
I already did it moving the whole content from main content area into footer using javascript DOM but I would be very happy to know the solution.
Thanks.
Forum: Themes and Templates
In reply to: remove > from titleI always use:
<title><?php if (is_home()) {bloginfo(‘name’) ;} else { wp_title(‘ ‘);} ?></title>it displays the blog title when you are in the homepage and the page title everywhere else.