Fermé

Wordpress Custom Post

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).

Compétences : PHP, WordPress

Voir plus : 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

Concernant l'employeur :
( 1 commentaire ) Miami, United States

N° du projet : #1635811

6 freelance ont fait une offre moyenne de 223 $ pour ce travail

WSTIBS

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

380 $ USD en 7 jours
(112 Commentaires)
7.5
hikaruvn

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

250 $ USD en 7 jours
(184 Commentaires)
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 Plus

215 $ USD en 5 jours
(59 Commentaires)
6.8
dotsaravanan

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

180 $ USD en 5 jours
(20 Commentaires)
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 [url removed, login to view] we are new Plus

250 $ USD en 10 jours
(15 Commentaires)
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 en 13 jours
(3 Commentaires)
3.7
zex2911

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

45 $ USD en 0 jours
(2 Commentaires)
2.6