I have added a few meta boxes for the posts and pages, so I want to load a js script only on the Create/Edit post and page. How can...
Question: What is the best way to create a hierarchy structure (also called parent/child relationships) between custom post types? For example, we currently have 3 post types: States, Cities,...
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only...
I’ve used Dave Jesch’s solution for making virtual pages (from content temporarily saved in a custom database table, updated from an RSS every four hours). See more here: http://davejesch.com/wordpress/wordpress-tech/creating-virtual-pages-in-wordpress/...
I’ve seen similar questions and solutions, but so far I couldn’t apply it to my code. The following code (functions.php) works perfectly fine: if( isset($query->query_vars['post_type']) && $query->query_vars['post_type'] == 'turniere'...
I have currently added a custom meta field to upload a media file (image). I can successfully add the upload button to display and it works but I’m having...
I need to build this thing: It’s essentially an image with a caption, and it can go inline anywhere in the text. I could just create a shortcode for...
OK, firstly we have done this before using Magento and it worked well, but with WordPress? Well, here is the problem and the plan… The Problem For a few...
I’ve added a custom taxonomy to my product category page in the admin. I can call the custom field using the following: $queried_object = get_queried_object(); $t_id = $queried_object->term_id; $term_meta...
I’m wondering what’s more efficient when it comes to performing search for data. I am building a job board where I have an option to store information like: Company...