So I fixed it by changing
array(
'taxonomy' => 'category',
'terms' => array( $woo_options[ 'woo_cat_featured' ] ),
'field' => 'ID',
'operator' => 'IN'
),
to
array(
'taxonomy' => 'category',
'terms' => array( $woo_options[ 'woo_cat_featured' ] ),
'field' => 'slug',
'operator' => 'IN'
),
Specifically:
'field' => 'ID',
to
'field' => 'slug',
.
I’m not sure what changed from one theme to the other. But this made it work perfectly.
Related Posts:
- Redirect to another page using contact form 7? [closed]
- Check if current category has subcategories
- wp_nav_menu not appearing for a couple pages
- wp_update_nav_menu_item() to insert categories
- How to get the url to tag & category base set by the user?
- Custom HTML structure in wp_list_categories
- Why adding Categories does not auto refresh in Backend while using my custom theme?
- is_archive() content being shown instead of is_category()
- Passing array in add_option()
- Retrieve all posts within tag OR category?
- Edit the markup of categories list
- Code to pull in a PHP file named after the category ID
- in_category() works in single.php but not in page.php?
- Add title, post content, and category like add_post_meta and update_post_meta
- Custom category code not showing all posts
- Show only one category
- New Theme creation
- Implementing a tricky wordpress menu (nested categories + thumbnails)
- Taxonomy filter all children
- How to get data about category in category.php
- editing fonts of category links from the_category() funtion
- How to check category of of custom post type or not
- Set a them for all subset of category
- Apply different Class for each element in a foreach()
- Second level subcategory
- How to call custom category field data in theme?
- query in category.php repeats itself
- Different templates for different category tags
- Grab posts by multiple categories
- Why category.php throw 404 in wordpress while calling paginate_links()?
- Setting default category base on theme activation
- Recent Posts Not Showing Only On A Specific Category Page [closed]
- Counter in loop in foreach
- Inside a loop, how to change CSS class based on category name?
- Create menu locations for each category in wordpress
- Different Output for “Every Other” Foreach Statement?
- Question on using custom structures for categories
- Getting the category title / description returns first matching post?
- Allow user to select categories that will display in post loop
- Insert HTML content in WP Query at specific point
- How do I retrieve the category ID (ugly permalinks) in my sub-navigation menu?
- Category page returns 404 error
- How to Sync Menu, Widgets and other masters from Main Website to its Sub Site
- Exclude category from foreach loop
- Show post categories
- Add description to categories menu in admin
- filter a loop base on specific category
- Problem with multiple loops in wordpress theme
- How to add icon over specific thumb
- Rebuilding a Site: How to Show Several Category Posts in Woo Framework Theme?
- wp_dropdown_categories initial value
- How to differentiate the homepage structure from the category page structure in WordPress template?
- How to detect /category and /tag base pages?
- Explode() expects a string
- WooCommerce shared categories
- Remove Custom Post Category In WordPress Slug Using .Htaccess
- Show the number of the post
- How do I edit the terms output args or array data?
- Products category search not working
- In if…else condition, the else statement shows even if if statement is correct
- Can’t display posts by filtering categories using isotope.js
- Create category after theme setup and modify the default one
- Media Library Category Exclude Tree
- Media Library Categories
- Multiple if statements with else for get_the_category [closed]
- Cant get unique_array() work on get_the_category() foreach loop
- How to add Pagination to foreach loop to page
- How can I add HTML classes for current taxonomy/term hierarchy into my pages to simplify styles?
- Change single.php template based on parent category
- Show posts from all categories
- How can I modify this code to iterate over an array of categories?
- Help with SQL query, how to add taxonomie terms with value stored in options?
- If it is a top level category show children otherwise show sibling categories
- Lowest catagory link
- foreach,having wp_query inside, breaks after showing one result
- Category foreach Paging
- How to get multiple loop in category.php, my scripts becomes madness
- Category base 404 – fix
- altering theme – content generated by PAGES not PORTFOLIO
- Display only the latest post
- Paginating a list of all posts collected by category titles
- how to edit wp category widget
- Category Archives: Show posts categorized in parent category only
- Call Current Category
- Page permalink rewrite
- Post thats in Two Categories, only want to display name for one
- WordPress 3.5 how to determine if user is on category listing or category edit screen?
- Display only one level subcategory in wordpress
- How can i hide the authors box from a specific set of categories and post types?
- Get all first images of posts in same category
- How to display the category featured images [closed]
- How to make /category/ URL load properly instead of 404 error?
- Script to duplicate categories as tags
- Error in custom php function doesn’t exist
- Trying To Get Child Categories To Show, Issue With foreach Loop
- Can I define multiple paginations on a single page?
- How to test if the post is in a primary category
- How to create default categories in new installs?
- Check if value is a custom taxonomy category name
- Tracking multiple tags or categories