0
votes
0answers
11 views

unable to access image attributes in wp_postmeta when looping through posts

I have an issue with accessing attributes of a library image, particularly the "Alternate Text" attribute. I use the ACF (Advanced Custom Fields) plugin to pull back the slideshow image which is ...
-1
votes
1answer
49 views

getting image alt text via ACF plugin in WordPress [closed]

I am using the ACF plugin in my WP 3.3.1 application and I use the the_field method in many places across the site. One place in particular I use it is in a slideshow/carousel as below: <img ...
0
votes
0answers
77 views

User Answerable Multiple-Choice Question in Post

I am creating a plugin that adds multiple choice questions to WordPress. I wish for several to be displayed in a single post in a manner such that users may select an answer and receive instant ...
0
votes
1answer
71 views

Remember the meta value with radio buttons

I've created a simple meta box consisting of two radio buttons: yes or no. When they click on the appropriate box, it saves the meta value to the database. However, the post page does not remember it ...
0
votes
1answer
79 views

Get post id in Post Page within Wp-admin

I want to get post ID within Post page. I need this for custom meta box so i can set the id in shortcode. I can show the result in notices but don't know how to make it global to use for meta input. ...
0
votes
1answer
50 views

Meta box losing its value when scheduled post is published

I've created a plugin with a meta box that has a check box and noticed that when a post goes from scheduled (future) to published the meta is no longer checked. When I schedule the post and check the ...
0
votes
0answers
35 views

How to re-run the main query based on meta data value?

When a user requests a custom post url like */books/best-book-eva, I want to (with a plugin) hook in before the page is displayed (and the main query run if possible) check that posts meta value ...
0
votes
1answer
56 views

Is there a filter for get_post_custom()?

I know there's a filter get_post_content that I can hook into, but that only seems to work with get_post_meta, I need to filter individual values of get_post_custom() by checking if the metadata key ...
1
vote
2answers
150 views

Custom Post Types. Are there any disadvantages/advantages in using a plugin to develop them?

There are a few plugins which can assist you in building your CPT's, and these can usually handle your taxonomies and sometimes postmeta also. Some even take it further than that. I know that as with ...
0
votes
1answer
403 views

WooCommerce custom taxonomy as meta?

I have created two custom taxonomies: (slug) = language (slug) = location On the single product page I would like to display these two as meta below the "Categories" and "Tags." Example: I found ...
0
votes
1answer
127 views

Storing values in Post Meta vs new tables

I want to store list of user IDs in the post meta who have rated a post . So, for each post I will need to check the post meta to see if the user id exists in it or not. So my question is that, is it ...
0
votes
1answer
242 views

get meta value from database by post id

I am just really confused how to do this, becouse I am newbie in wordpress. So what am trying to do: I have a custom form on home page and posting form value by post method. Now I want to fetch meta ...
1
vote
1answer
501 views

Create digital-virtual-downloadable WooCommerce products from the frontend using Gravity Forms? [closed]

A little background about my issue: I'm running WP + WooCommerce + Gravity Forms and want to enable users to create WC digital-virtual-downloadable products from the frontend using GF. Essentially, ...
2
votes
1answer
29 views

Set attached to state

In the media library every attachment post has an "Attached to" column. I've developed a plugin that adds author profile and a facebook like banner image. I now discovered that the attachment posts, ...
0
votes
1answer
1k views

How to insert multiple postmeta values with one query?

I have a custom script/plugin I am using for myself that creates a post along with some postmeta information. Right now, I have multiple $wpdb->insert, but I would like to condense this down into ...
0
votes
1answer
127 views

How to make certain content of the post noindex and no follow. not entire post?

in my woocomemrce website i am trying to embade faqs which are generated using a short cut code . these faqs are common for all products which may lead to serious duplicate content issue . how to ...
0
votes
1answer
236 views

Add meta tags with a plugin?

I've tried a number of plugins including Add Meta Tags and Meta SEO Pack which add a meta tag description to the home page. But my home page is static so the description is added to my blog page. I ...
0
votes
1answer
422 views

Link Posts to External URL

I'm building a site which lets users to submit links using User Submitted Posts plugin. I want every post title to link to its URL something like reddit. Moreover, User Submitted Posts plugin add URL ...
0
votes
2answers
7k views

What is generating my meta og:description?

My site has Facebook social graph meta tags in its page: <meta property="og:title" content="First Look at Dwarves from The Hobbit"/> <meta property="og:description" content="Movie"/> ...
0
votes
1answer
580 views

Updating post meta for custom post types

I'm writing a plugin for work (still) and having one more issue. I've added my meta boxes as needed. However, the problem I'm having occurs when saving the post. My snippets for saving pretty much ...