Browsing Category

Wordpress wp-query

Optimising amount of calls to custom fields

I have this code fragment in my codebase: foreach($this->adverisers as $adveriser) { $this->data[$adveriser->name]['image'] = bfi_thumb(get_post_meta($adveriser->ID, 'ss_advertisers_cats_image', true ), $this->imgDimensions ); $this->data[$adveriser->name]['description'] = get_post_meta($adveriser->ID, 'ss_advertisers_cats_description', true

I have deleted a subscriber on WP and now everything is gone that I had on my website! How do I ‘undelete’ him?

I have deleted a subscriber on WP and now everything is gone that I had on my website! How do I ‘undelete’ him? Help please!

Display posts from catagories

I am using an option framework. This saves catagory ids.To get ids I have done $cat = $atts['post_catagory']; var_dump($cat); The var dump result is array

how to view all posts of current day as default in wordpress admin

I want to to show all posts of current date by default(without click filter button) in wordpress admin posts list screen. I have used this

How to view all posts of current day as default in admin

I want to to show all posts of the current date by default (without clicking the filter button) in WordPress admin posts list screen. I

How to limit the number of post that WP_Query gets?

I have been researching on Google and WPSE and the only thing I see repeatedly is to use showposts, that is deprecated. I am familiar

Why is $wp_query fetching nothing?

I have created a ajax file from where response will return named “ajax_show_nxt_cat.php” and here I want to list all post using $wp_query but when

WP_Query with multiple meta fields filter?

I have the following query but it is still returning results which include posts which have a meta value of ‘deal’. Any Clues on what

How to query images from a post to use in a slider

I am trying to pull images as attachments from a particular post (custom post), …and I’m using the example within WordPress codex codex example to

How to query post into a complex slider

I’m trying to query post into a slider. Here is the HTML Markup for the slider. Each slide has slide and a relating thumbnail. <div

Add Jetpack Infinite-Scroll to custom WP_Query()

I am trying to get Jetpack’s Infinite-Scroll plugin to work with a custom post type, taxonomy and WP_Query(). I have it working properly for my

Which custom query am I in and how can I access its properties & methods?

Sometimes there’s no way around creating a custom query, but when I do and then loop through it, I often want to use get_template_part() within

Escaping WP_Query tax_query when term has special character(s)

Here’s my issue. I have a custom post type that I’m attaching a custom taxonomy to. This taxonomy will allow the admin to provide search

How can i execute a large WP_Query with many "AND" Meta_Queries?

i have a custom post type product. Visitors can search products with many filters. They can set the color, the size, the price… etc. The

show post per category not working

I’m using this loop to show my 5 latest posts but even if I’m selecting a category it still shows the 5 latest posts from

Incorrect posts displayed on category page

I’m using this loop to show my 5 latest posts but even if I’m selecting a category it still shows the 5 latest posts from

Back to Top 52838 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising