0
votes
1answer
48 views

Custom post type and custom taxonomy archive inaccessible

I've created some custom post type let say: post_type_1 post_type_2 Those post types are related to each other, every post_type_1 has parent of many post_type_2. Then I created a custom taxonomy ...
1
vote
1answer
20 views

Trying to retrieve post meta

I have created a meta box that allows users to add an additional name/id to their post. From what I can tell it is adding the meta information correctly because when I edit a post that has a custom ...
0
votes
1answer
36 views

How to use shortcode inside of shortcode in theme

I am trying to place a shortcode inside another shortcode within a page template, however the various attempts I've made seem to not do anything. Here's how my code looks now - <?php echo ...
0
votes
0answers
20 views

Adding new Settings Field to Appearence -> Menus using the Settigns API

I would like to add a 3rd text field to the admin page for custom menus called "Link Description" beneath the Navigation Label and Title Attribute Fields. I know that I need to use the ...
0
votes
0answers
35 views

How to Use Theme Customizer settings for Colors in a Custom Theme?

I've been reading up on the Theme Customizer so I can create a backed for the Custom theme I am building. Based on the tutorials I have read, I understand how to enable the customizer, create new ...
0
votes
1answer
153 views

How to call custom category field data in theme?

I am trying to add two custom fields to my categories (which I have done thanks to this answer - Any examples of adding custom fields to the category editor?) And now I need to call them within my ...
0
votes
1answer
100 views

custom comments form for custom post type

Hello everyone I am creating a theme dedicates to hotels display and booking in which I have created a custom post type 'Hotels' so now I want a mechanism to book the hotel rooms and a "book now" ...
1
vote
1answer
56 views

Custom Field returning Numerical Value for Image rather than URL

I have been trying a way round my latest WordPress problem all morning and I feel now is the right time to shout and ask for help. I have been trying to create a people directory, I'm there except ...
0
votes
0answers
42 views

Saving From Custom Meta Box [closed]

I followed a tutorial, expanded on it a bit, and am having problems with either the saving, or the re-population. Not sure which. Please have a look, and any help would be appreciated. function ...
-1
votes
1answer
21 views

Add Field To All Pages

I'm trying to add a custom field to the built in Page content type. I've found lots of tutorials on how to do this for a single page, but I want to do this for all pages in my theme. Please point me ...
-1
votes
2answers
540 views

Integrating WordPress Content into a jQuery Slider

I have a pretty basic 'featured-list - image slider' implemented above my content in my custom WordPress theme. How do I integrate WordPress content into the slider so that the slide content is pulled ...
1
vote
1answer
101 views

How do I Add images uploaded in the post to a default custom field

I'm trying to add the URL of the post images in to a default custom field. Here is the code I got so far... Here is how I add the default custom field: add_action('wp_insert_post', ...
0
votes
2answers
746 views

Add image URL automatically to custom field?

Does anyone know how I automatically add the URL of the uploaded image to a custom field? In other words, When I upload a image I want the url to the image to get a custom field variable ...
1
vote
1answer
217 views

Using the theme options to change background

how do I add some options to a theme? I would like to add support, in my thmes, for dinamically changing the page background. I don't even know how to start. I think I can break down this issue in ...
1
vote
1answer
485 views

Query & Order posts by custom fields

I'm trying to query a custom post type "jogos" where the meta value "data_de_lancamento" (launch date) is <= than today's. That field uses the format dd/mm/yy. The returned posts from that query ...
2
votes
2answers
772 views

How to add a checkbox element to attachments editor with example

The code below adds a custom input field to the attachments editor. How can I convert the text input to a checkbox and get/set the value of the checkbox on load and save? Note: "input" => ...