Articles of custom post types

Change author for custom post type

I am using Tabs responsive plugin to display tabs in my WordPress website. each tab represents a course and i want to assign each tab to certain user who can only access those tabs and not the other tabs.this can only be done if i can change the author for the published tabs but there […]

Showing custom post user wise with different color in wordpress

I am using ACF(advance custom field) and custom post type plugins to create my own custom post type. I have successfully created custom post type with custom field. [no problem here] Then i have display all custom posts to users(front end user) after login. [no problem here]. if front end user(after login) like particular custom […]

How to display user-defined / custom post in wordpress?

Just another basic question of wordpress development. I have a custom post created using the functions.php on theme folder that I am currently developing. I simply want to display all post from it. function people() { register_post_type( ‘people’, array( ‘labels’ => array( ‘name’ => __( ‘People’ ), ‘singular_name’ => __( ‘People’ ), ), ‘public’ => […]

Show only specific categories in permalinks for custom post type categories

I’m trying to display only 3 specific categories in permalinks for custom-post-type categories. Right now the permalinks structure (that is the structure given by the theme i’m using and that i’m modifying through a child theme)is as follows: www.myfoodblog.com/recipes/the-post-title/ ^ ^ ^ root custom-post-type title some post are under 3 categories that i would like […]

Filterable portfolio in WordPress using jQuery isotope

I want to filter portfolio using Isotope. I can show the items but can’t filter. Here is my code. Have a look and share your thoughts what i am missing. <ul id=”cat”> <li> <ol class=”type”> <?php $terms = get_terms(‘portfolio-type’); $count = count($terms); echo ‘<li><a href=”javascript:void(0)” data-filter=”*” class=”active”>All</a></li>’; if ( $count > 0 ){ foreach ( […]

Filter by custom field date in custom post type on admin page group by month year

Hi I was testing the code in this answer Modifying date filter on admin page for custom post type to link to custom field and I am trying for a Advanced Custom Field drop down of dates selected from a datefield. The dates do drop down in the format of e.g. 20170719 I have used […]

custom post type by author – wp job manager

Hy, I am working with wp job manager, and I would like to list job applications by user, under ultimate member tabs. I have tried using this code, but it shows me all applications function custom_shortcode() { $args = array( ‘post_type’ => ‘job_application’, ‘author’=>$author_id, ); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) […]

Display specific Jetpack project type name and link

Ok I am getting desperate here. I have custom website with Jetpack and its Portfolio post type enabled and I would like to just hardcode link to certain project type archive page. Is there any way to do that similarly to how I would link to specific page like this? <a href=”<?php echo get_page_link(90); ?>” […]

I want to display my custom post type arranged by taxonomy

Sorry New to this custom post and taxonomy thing I want help in displaying my custom post type arranged by taxonomy. The output would be like: Parent 1 Taxonomy Title Child 1 Taxonomy Title Title of a Post Under Child Taxonomy 1 Title of a Post Under Child Taxonomy 2 Child 2 Taxonomy Title Title […]

url Custom post type with relationship field break permalink page

I have spent a lot of time searching these last days but do not find anything to solve this problem. I have a page “About” with a associated template file, which always redirect to homepage when I try to access it. (url: mysite/about/ and is show the home not the template file). i setup 2 […]