Wordpress Custom Post

Closed

Description

I'm working on a plugin that has a custom post. This custom post is associated with another entity on the database (database table) that contains the template that the custom post will use to render on the front-end.

I have used the template_include & template_redirect filters to capture the moment when this post is about to be rendered on the front-end, but I have found no way to test the type of the post a front-end request made using: $wp->query_vars, $wp_query, $wp, etc. So what happens is all the post types get the behavior meant only for the custom post type.

I think there is a rewrite issue, but I entered all the correct parameters when I invoked the register_post_type function.

Since this project is confidential I cannot give the source code, what I need is assistance in finding a solution quickly so I can:

1- Check the type of post being queried on the front-end, if the query is for this custom post type then

2- Get the custom post meta fields, (one of these fields has the template id of the other related table)

3- By having this template id (from the custom table) I can then get the template contents and then

4- Generate the custom post using the template saved on the database table.

This person will just be with me on a chat session on Skype, you would not need to write the code, I will do that. I just need assistance in finding the issue. I know a seasoned Wordpress developer would know how to solve this problem very quickly.

Please if you are not familiar with Wordpress or have experience with Wordpress for quite a bit of time, please don't bid. I'm expecting to solve this problem in no more than an hour (or less).

Skills: PHP, WordPress

See more: write correct plugin for wordpress, wordpress developer plugin, wordpress developer bid, wordpress custom developer, what id wordpress developer, post a bid, how to write table of contents, how to write a plugin for wordpress, how to write a finding, get a wordpress developer, front end wordpress developer, finding template, finding a wordpress developer, finding a front end developer, experience wordpress plugin developer, developer plugin wordpress, developer for wp types, custom wordpress plugin developer, chat with wordpress developer, what is a skype id, front end developer wordpress, wp-types, wp meta, wordpress-issue, wordpress front end developer

Project ID: #1635811

6 freelancers are bidding on average $223 for this job

WSTIBS

we offer quality solution,time base completion with support. ***** Check PMB ***** Best Regard

$380 USD in 7 days
(112 Reviews)
7.5
hikaruvn

i can do it,please check PM and contact with me thanks

$250 USD in 7 days
(184 Reviews)
7.2
guruwebsolutions

*******Dear Sir, We are experts with similar expertise to your project requirement. We are very much interested & eager to provide professional and quality service for you. Please check private message to discuss furth More

$215 USD in 5 days
(59 Reviews)
6.8
dotsaravanan

Thanks for your post, kindly have a look on our PMB

$180 USD in 5 days
(20 Reviews)
6.2
shabdullah88

Dear sir After reading your project details,we are interested in this project and would like to bid on this project. we take care of our every client personally and has always long term relationship.Although we are new More

$250 USD in 10 days
(15 Reviews)
6.0
daziabey

i would like to do this project for the above rate so if you are interested please let me know it. thank you.

$200 USD in 13 days
(3 Reviews)
3.7
zex2911

Hello, I would like to help you with your custom posts.

$45 USD in 0 days
(2 Reviews)
2.6