Dave Meier
Forum Replies Created
-
Forum: Reviews
In reply to: [Sticky banner] Simple and does the jobThanks for your feedback @belleisle.
There is now a close X option. You can also set the number of days the banner will remain closed after users click the X.
I don’t give the bar a set height because different people will add different amounts of text, plus the banner needs to adapt to different device widths. The banner does automatically detect the height of itself and applies padding to the top or bottom of the page, so your content does not get covered.
You can customise fonts and colours by using CSS on the banner container ID (#hdsb-stickybanner).
There is also a new class added to the body (hdsb-t-active or hdsb-b-active). This allows you to customise the page if the banner is active, and on top or bottom. You can put specific styles into the page when the banner shows and have them disappear when users click the X.
Forum: Plugins
In reply to: [Category Order and Taxonomy Terms Order] WPMU doesn't activate globallySame issue here and I bought the advanced version that states it works with MultiSite.
Forum: Themes and Templates
In reply to: A Checkbox to display or disable contentgot this working my by adding in:
<? if (get_post_meta($post->ID, 'hd_checkitem', true)) { ?> my content here <? } else { ?> <? } ?>
hd_checkitem is just the name from the prefix and id for that item in the metabox
Forum: Themes and Templates
In reply to: Custom Post Type Breadcrumb if statementI need to add in an ‘elseif’ statement to change the breadcrumb menu if you are on a custom post type page.
Forum: Themes and Templates
In reply to: Need to limit number of tags displayedyou my friend are a genius
thanks a lot. really making life easier with small tips like this.
If its ok I will pick your brain on a few other things over the next few days.Thanks again
Forum: Themes and Templates
In reply to: Need to limit number of tags displayedI have an issue with how the code works in the loop. It seems to be stopping the tag count at a set number for the entire loop.
So i want to filter only 5 tags for each post in the loop. What it is doing is stopping at 5 tags total so post 2+ does not have any tags.
Forum: Themes and Templates
In reply to: Need to limit number of tags displayedthat is perfect.
thanksis it possible that could then filter by either most popular tags or i could add in an if statement which listed say 10 different tags. So if these tags are present add them into the list before anything else but still filter it down by number of tags too.