The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
36 views

Prevent a query from duplicating

Trying to show featured posts on home using catID,but it is being duplicated. Is there any way to prevent it from duplicating: <?php query_posts("posts_per_page=1&cat=1"); if ( have_posts() ) ...
0
votes
1answer
208 views

Check for duplicate custom field value before running wp_insert_post

That is, I want to prevent 'guid_review' ACF value being duplicate by checking it before creating the post. foreach ($items as $itemKey => $item) { $myPost = array( ...
0
votes
1answer
221 views

Loop through posts by each term and exclude duplicate posts assigned to several terms

Okay, i'll try to go a bit more into detail. What i did with this code is getting a list of artists ordered by alphabet. In this list i'm showing all corresponding news posts to this artists term. ...
2
votes
0answers
509 views

Copying Custom Meta Values from existing post to a duplicate post

I'm trying to revise an existing WP plugin BU Versions to accept different custom meta field values from items I've set-up using the Advanced Custom Fields (ACF) plugin. BU Versions will copy over ...
0
votes
0answers
51 views

Some posts appear in duplicate with paginated query

I'm querying a custom post type with some custom post meta, and then output the results. This is the query: $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $properties_query = array( ...
0
votes
0answers
11 views

Upon publishing a page create a duplicate of said page in a custom_post_type

Wondering if this is possible... I have a client who need to mirror some pages within a custom post type. An ideal scenario is she publishes a page and then an exact duplicate of this page (including ...
0
votes
0answers
61 views

How to clone a post through frontend?

I need for my cliente to have the ability of clone/duplicate a custom post through the frontend? Are there any plugins or hooks/functions that I could use? I'm using ACF frontend forms to add the ...