Reputation
319
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 9
Impact
~12k people reached

  • 0 posts edited
  • 0 helpful flags
  • 16 votes cast
Dec
15
comment How to get shortcode working from custom meta field
This looks wrong, should be echo do_shortcode( get_post_meta( $post->ID , 'intSlider' , true ) );
Dec
15
asked WooCommerce session data getting mixed up
Nov
23
answered Two types of layout in woocommerce SHOP page
Nov
10
awarded  Popular Question
Sep
15
awarded  Yearling
Jan
15
comment Password protected page with a limited number of logins
Without digging through the core files I wouldn't know the hook you'd need, but I'd look for a hook and collect the users IP each time. Then you could block them from trying that page?
Jan
15
comment How to translate menu items?
I recently wrote code which switched between two different menus depending on the language the user was browsing in. It wasn't that easy! A plugin might help, but I couldn't recommend one from experience. I know WPML is popular, might do what you need...
Jan
15
answered Can not get shortcode content in function
Jan
15
answered list custom taxonomy with count
Jan
15
comment How to add active state to the navigation links?
You will probably need to change your CSS selectors to work with the HTML that Wordpress makes for you. Normally the <ul> element has a class of "menu", not an id like your code example.
Jan
14
comment How to add active state to the navigation links?
Why don't you just use the wp_nav_menu() function instead of manually making your menu?
Jan
13
answered How to add active state to the navigation links?
Dec
21
comment WP_Query with UNIX timestamp in meta query
Argh! As it turned out, the missing post was set as scheduled. I'm using the "fakerpress" plugin which generates dummy content, and I assume I picked a date range which meant some of the posts were scheduled to be published in the future. It's always an absolute pain to fall over such easy mistakes!! Thanks for your help.
Dec
20
comment How to use taxonomy term as a value of get_template_part?
You'd need to pass your post id and your custom taxonomy. print_r() the results and see what you get.
Dec
20
comment WP_Query with UNIX timestamp in meta query
@bonger Yes, I've done this query, it returns 3 results. 2 are older, and 1 is in the future. It's very odd, if the compare arg is "<" it returns two results, but it it's set to ">" it returns nothing!
Dec
20
answered How to use taxonomy term as a value of get_template_part?
Dec
20
comment Fully editable footer
I think widgets are definitely the way to go. Loads of control and a simple user interface.
Dec
20
asked WP_Query with UNIX timestamp in meta query
Dec
10
comment Options for an SEO gallery?
As far as SEO and images is concerned, changing to another gallery shouldn't make too much of a difference providing it uses the same title and alt attributes on the images. The HTML markup for image descriptions could vary, depending on whether or not your theme uses HTML5. If you want a gallery that maintains image proportions, you could find a plugin which has a "masonry" style layout. I can't recommend any, but it might be a starting place.
Dec
10
comment How to get customizer to refresh when using radio buttons control
At first glance I wonder if this isn't working because there doesn't seem to be jS for "cb_color_scheme", and also, is that input actually properly assigned to a section? Sadly I don't have much time to help, but that's where I'd start!