Browsing Tag

category

Problem with using ‘category__in’ in query_posts and ‘category’ in get_posts as passing arguments

i am trying this with query_posts : $post_category = 12,9 $post_category_array = explode(',', $post_category); query_posts( array( 'post_type' => $post_type, 'orderby' => 'menu_order', 'order' => 'ASC',

Breadcrumb display subcategory in parent category page

I’am using Avante theme for my WP website. All my posts have two categories : Main category and subcategory ◊ The problem is that my

Show all posts of all categories but excluding a category on custom blog page with pagination of my theme

Show all posts of all categories but excluding a category on custom blog page with pagination of my theme <h3>Recent Posts</h3> <?php $paged = (get_query_var('paged'))

Styling wordpress custom category templates

I have a created a custom category template for parent categories which displays only the child categories rather than all the posts contained (category-slug.php). I

Related post by category reture this error: Parse error: syntax error, unexpected $end in

I got this code from this site on how to display related post by category but when I paste it to my theme it return

How to change custom post type category link in WordPress

Hi I’m building a wordpress application with custom post type. Having trouble with custom post type. This is my following code for custom post type

Related post by category: {if id = to current page id} should not display in related post

I workout wordpress related post by category. my problem is I don’t want to display the item in current post in the related post. for

WordPress not showing a category with ACF

The WordPress website I am debugging is used as an intern tool to publish reports. When a user want to create a new report, they

Rerurn to previous category from single page

I have next code on my single page. // RETURN TO PREVIOUS CATEGORY $('.cross').on('click', function(){ var toPrevPage = $(this); toPrevPage = history.back(); }); When you

Return to previous category from single page

I have next code on my single page. // RETURN TO PREVIOUS CATEGORY $('.cross').on('click', function(){ var toPrevPage = $(this); toPrevPage = history.back(); }); When you

Paginating WordPress Posts Category Page

I am trying to display a certain number of posts per page in a category archive, and paginate it. Everything but the pagination is working.

Ajax category pagination problem

I want to make a pagination or load more button for my ajax category display. Here is my attempt, I have no idea how it

Pagination on child category returns 404

Can anyone figure out why viewing pages in my child categories results in a 404, when the same $paged code works fine for my index

Conditional Statement custom post type category

I would like to display a text depends of my custom taxonomy category, like: if custom post type category is X, then echo Text Y.

How do I aproach this?(for sale, for lease, sold->move something from a category to another)

First of all, I really apologize for the title of this question. I’m currently working on a real estate wordpress theme for that will feature

WordPress Category using taxonomy for plugin only

I got the idea how taxonomy works in WordPress, but can I can create categories using it that are visible only to my plugin ?

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