Unanswered Questions

0
votes
0answers
3 views

Are post, page and category IDs unique to each other?

I was looking for a function to get all ancestors of a post or category and found get_ancestors( $object_id, $object_type ). To my surprise, the Codex shows that the second parameter is required: ...
0
votes
0answers
4 views

How to add custom field to wordpress page everytime user uploads new image in WP visual editor?

I have been hunting in GOOGLE for a long time. I want to add custom field whenever user uploads new image in page or post. Is there any hooks or filters that can be used to detect new image upload in ...
0
votes
0answers
13 views

Wordpress plugin admin page breaking

I am developing one file uploading plugin for my wordpress site to upload posts along with taxonomy and post meta data. Functionality wise it is working fine but when file uploading is finishing ...
0
votes
1answer
7 views

Open posts in editor in the 'Text' mode by default

I have a few posts where there are some code segments. When I try to make small edits in the post, it opens in the 'Visual' mode and all the non-alphanumeric characters (e.g. >) are converted to ...
0
votes
1answer
11 views

exclude one category echo get_the_term_list

I want to exclude one of the categories of posts, always the same, named "documentaires" and with the id 20. Here is the wp code : <?php echo get_the_term_list( get_the_ID(), 'project_category', ...
0
votes
1answer
8 views

Why am I getting a “Call to member function format() on a non-object” error?

I am trying to add a hook to post saving using WP Frontend User When the form saves and the post is created within the "save_post" function I am trying to find the value of a custom field ...
0
votes
0answers
8 views

Woo Commerce Product displays small and goofy on pages set to display certain product categories

I am new to both WP and Woo Commerce. I am trying to figure out how to fix the way a product displays when it is tagged to appear on a page via [product_category ...
0
votes
0answers
7 views

Getting troubles with Yoast WP Seo. No values are saved

I appreciate this is not Yoast WP_SEO plugin support forum, but I'm getting trouble with the page not saving any of the value supplied in the meta box. I've tried to revert to the standard template ...
0
votes
0answers
11 views

Menu Navigation disappears on mobile theme

I am trying to build a wordpress website which switches themes when someone is viewing on a mobile device. So I have created 2 completely different themes - 1 for desktop / tablets and another just ...
0
votes
1answer
18 views

Add “Logout” link to navigation menu

How can I add a link to the primary navigation menu with the class="right" attribute? I tried to add a static link to example.com/wp-logout.php?action=logout but that leads to a logout confirmation ...
0
votes
1answer
23 views

How do display gallery embedded to the custom post type

I have a custom post 'event'. For each post there is a gallery attached. On a main galley page i am displaying featured images from each post . Now i want that when person clicks on this featured ...
0
votes
0answers
87 views

inline script : prettyPhoto setting deeplinking to false not working

This is suppose to be simple but I can not figure it out. I'm using WordPress prettyPhoto plugin for my project and I'm trying to set deeplinking to false (deeplinking:false). In the Chrome console, I ...
0
votes
2answers
233 views

Count post view when user open any post

I want when any user open the post it count the post view. Currently i am using my custom function which is <?php setPostViews(get_the_ID()); ?> But the problem is that when user refresh the ...
0
votes
1answer
647 views

WPML wp_query not working properly in one language

I have a wp_query for a custom post type and the custom taxonomy, the idea is top display the term name and below each term the associated posts. I have two languages Dutch & French. Query is ...
0
votes
3answers
324 views

Can't Access Subdirectory

I've moved my blog from http://leghumped.com/blog to http://leghumped.com/ and now I can't access my /images directory. I've tried every combination of rules from trawling for people with the same ...

15 30 50 per page