Questions tagged [post-duplication]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

Wordpress duplicating posts from single loop

I've created a custom post type with ACF custom fields included. The CPT is being placed inside of a bootstrap slider. Everything seems to be working, except, the posts being rendered on the page are ...
Mitch S's user avatar
  • 27
0 votes
0 answers
7 views

Question about duplicating wp sites with different location every time

Hello guys i am a novice web developer and i have a question for you! I have a wordpress page with a text that has some location keywords (e.g. Greece) spread all over it. I want to create multiple ...
j_pentester's user avatar
0 votes
0 answers
25 views

Automatic duplicate/copy of post to a related page in WordPress

I have a website about introducing softwares and apps. I created pages and so menus (named by categories). I set my WordPress setting homepage to latest posts. I create posts and give them categories ...
asad's user avatar
  • 103
0 votes
0 answers
288 views

Multisite - Cloning CPT pages + content (including ACF Flexible Content) from site to site

I wondered if anyone had any WordPress Multisite knowledge where I need to be able to move pages and content from one site to another? A little bit of background, I've done this previously using the '...
M. Ferguson's user avatar
1 vote
1 answer
43 views

Duplicate posts when posting nulls in records in phpMyAdmin [closed]

I have a phpMyAdmin database with a table whose contents, when inputted from the database, automatically publish the related information. Some of the details within the record may be NULL, and while ...
N012P's user avatar
  • 13
0 votes
0 answers
194 views

Prevent Duplicate Post Counted by Query

<?php while ( have_posts() ) : the_post(); $get_series_id = get_post_meta( get_the_ID(), 'series_seri', true ); if (in_array($get_series_id, $do_not_duplicate)) { ...
Johan's user avatar
  • 1
0 votes
1 answer
17 views

How can I post exact same post but with a few things changed? (with some sort of Automation)

I wanna duplicate some of my posts but want to change a few variables. For example, I would just like to make some variable in my posts that will be changed every time I give inputs. These can be ...
Suhaib Kamran's user avatar
0 votes
3 answers
123 views

Is there a built-in function to duplicate existing posts?

Does WordPress have a built-in function that allows duplicating posts? I am looking for something like $new_post_id = duplicate_post(post_id);
I am the Most Stupid Person's user avatar
0 votes
1 answer
35 views

Is it possible to create duplicate post on other site (either push, on publish, or pull, periodically)?

I have a requirement to add certain posts (marked with a tag or category) from "site a" to another site ("site b"). I think the best way would be for site b to periodically check site a for the ...
libbynotzoey's user avatar
0 votes
0 answers
177 views

twenty seventeen customizer duplicates section content

Here's a thing that baffles me. Others have reported similar problems but none that match exactly, and being pretty new to WordPress, I find myself a bit at a loss. Using the twentyseventeen theme I ...
jjon's user avatar
  • 101
0 votes
2 answers
3k views

WP_Query offset is returning post from prevois loop

On archive pages, I let WordPress handle the archive page and load the first 10 posts, then I load more posts with AJAX requests, and this AJAX request is returning weird results. My query inside the ...
Vincurekf's user avatar
  • 103
1 vote
0 answers
396 views

How to copy posts from one site to another in real time (not multisite)

I'm working to rebrand my company's website (new look, URL, etc.). I've already transferred all of the existing posts, pages, users, media from site B (old) to site A (new) and I have site A up and ...
Manly's user avatar
  • 133
0 votes
1 answer
103 views

The best way to store variable across different widgets

The front page of my site building with set of widgets. Each widget shows the rows with posts for some criteria. I want to exclude duplicate posts across different widgets. The simplest way comes to ...
Anton Lukin's user avatar
-1 votes
1 answer
377 views

$do_not_duplicate is not working in genesis theme

I'm using Genesis child theme and I am using this function to display feature posts on home page. function modern_motoroids_extra_feature_posts(){ ?> <?php $do_not_duplicate = array(); ?...
Ramesh Pardhi's user avatar
2 votes
1 answer
354 views

Best way to prevent post duplication when using multiple loops

I have the following loops on a page on my website. Whats the best way to adapt the code below to stop the post in my first loop, being repeated in the second? <?php query_posts('showposts=1&...
Mikedefieslife's user avatar
1 vote
2 answers
193 views

Auto-create a pretty permalink for a bunch of posts

I have spammed many duplicate posts from one initial and now after editing them the url structure for them is something like http://example.com/base-name-copy-20 where base-name is the slug of the ...
George Dimitriadis's user avatar
3 votes
2 answers
3k views

Copy one CPT to another one in Wordpress

I'm building a site with two separate CPTs nominees and winners The idea is that we have a user submit a nomination in one of 7 categories ( taxonomy ) on the front end, and editors go in and approve ...
Armstrongest's user avatar
1 vote
1 answer
47 views

Content duplication issue with dynamic URLs

My WordPress blog creates many dynamic URLs, which creates a content duplication issue for my website. As each page gets a different live URL, it's being considered as a duplicate page. Why are ...
user5945547's user avatar
1 vote
1 answer
1k views

WordPress Subcategory Creates 2 urls for same page (serious issue)

All subcategories in WordPress create 2 urls to same page. domain.com/parentcat/childcat/ domain.com/childcat/ both urls go to the same page. in the eyes of Google this is duplicate content. it ...
Jacob's user avatar
  • 11
1 vote
1 answer
2k views

Prevent duplicate post from dynamic multiple loops

I was trying to list 20 recent posts, and put a post from custom post type on every 5th item. So it's like: Post Post Post Post Post Custom Post Type Post Post Post Post Post Custom Post Type .. and ...
helmiaditya14's user avatar
0 votes
2 answers
658 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() ) ...
Dragut's user avatar
  • 173
0 votes
2 answers
1k views

Stop duplicate posts

I have three loops I want to stop them from displaying the same posts in each one. any help would be greatly appreciated <?php $i; $args = array( 'numberposts' => 8); $posts= get_posts( $args )...
Adam's user avatar
  • 79
0 votes
1 answer
1k 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( '...
suascat's user avatar
0 votes
1 answer
3k views

Remove duplicated posts in the loop if post has more than one category

I have some posts with more than one category. In the post loop i get the post based on the selected category by the user. If the user select 2 categories where one post is assigned to, the loop ...
Babidi's user avatar
  • 9
-1 votes
1 answer
952 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. ...
Jay Kraist's user avatar
1 vote
1 answer
169 views

Multi row post list

I'm trying to create a 'two posts per row grid'. Here is the template i made: <div class="row"> <div class="span2"> <?php get_sidebar(); ?> </div> <div class="...
OKdk's user avatar
  • 11
3 votes
2 answers
4k views

Mysql Query to Delete Duplicate Wordpress posts?

I have a lot of duplicate posts. So, how to delete them (only keep 1 post). If they have same title, they are duplicate posts. Thank you very much ! Have a nice day !
Nguyen's user avatar
  • 59
3 votes
0 answers
3k 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 ...
unwrittendevin's user avatar
1 vote
1 answer
848 views

How to append unique numbers to new duplicated post titles/urls?

As of now if you create two (2) posts with the same title you get the following: domain.com/test/ domain.com/test-2/ If you create a third post, you then get another url like: domain.com/test-3/ I ...
Mike's user avatar
  • 61
-1 votes
2 answers
4k views

How to save the same post in multiple blogs?

I would like to write my post in one of the my 3 blogs and the same post will be published in the other two blogs. How can I do that?
Renan's user avatar
  • 3
1 vote
1 answer
9k views

Ajax loading duplicate post

I wanna start by apologize for this post being so long, but I feel it may help others since I am having this problem and figured I might as well be as detailed as possible. I am having a problem with ...
Jeremy Love's user avatar
2 votes
1 answer
4k views

How do I Import an RSS feed as Wordpress posts without duplicates?

I have an XML feed url I am now using this code to create new Custom Post Type Posts from an rss feed in my functions.php file: /* | ---------------------------------------------------------------...
Amit Erandole's user avatar
1 vote
1 answer
2k views

Custom post type and taxonomy - show related posts

I have a Projects custom post type with a custom taxonomy of Services. Each project can have multiple services ticked. On the project page I am using the following code to pull back related projects ...
user643284's user avatar
1 vote
2 answers
3k views

WordPress Network (MU): Copy Main Site to Sub-Site

I would like to copy all the posts, users, and pages from my main site into a sub site. I've tried exporting and importing, but the main site has thousands of entries and hundreds of users, and the ...
getWeberForStackExchange's user avatar
1 vote
1 answer
401 views

How-to Change Content with location change?

I have to develop a site using wordpress having thousands of pages. Pages will have the same content but there will be change in the location of the content. For example location will be Sydney, ...
user478's user avatar
  • 333
1 vote
1 answer
3k views

How to avoid duplicate posts on front page?

how to avoid duplicate posts on front page? i have 1 category 'news' for all posts and some categories like 'vegetables' and 'fruits'. Each post is in 'news' and particular category. At the top of ...
Marcin's user avatar
  • 11
3 votes
1 answer
774 views

Real time Duplicate title check

On my website there are a lot of authors and they are all writing about italian 'scene' so sometimes it happens that two of them write the same post or use same title so what I'm looking for is a way ...
maisdesign's user avatar
2 votes
5 answers
15k views

How to change title tags on paginated posts?

I've created many post with multiple pages with the nextpage-tag. The problem is that these show up as errors in "Google Webmaster Tools" because of duplicate title tags and meta descriptions. The ...
Eddie's user avatar
  • 21
1 vote
3 answers
3k views

How to prevent duplicate posts with wp_insert_post on single.php?

I'm getting a really strange bug (WP 3.1.3). My goal is to have users create a new post simply by landing on a single post. In order to make that happen, I have the following code in my single.php: ...
TheCosmonaut's user avatar
3 votes
1 answer
5k views

remove missing image attachments

Best way to programatically remove attachments that are missing images? I ask because after using a caching plugin, I have images that have been input in the database as attachments that don't ...
two7s_clash's user avatar
1 vote
1 answer
899 views

wp_reset_query equivalent for WP Ecommerce

I'm having product duplication issues while running two loops on a single page. Is there an equivalent to wp_reset_query for wp ecommerce? You can see the site at http://standingarmed.com/products-...
curtismchale's user avatar
  • 2,599