Skip to main content

All Questions

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

Wordpress blog post categories redundantly displaying on the same post

Would love any help or advice you may have. Working on a site built with Wordpress that is also using a custom theme. Using Wordpress' CMS, the blog and post section is already set up. Post categories ...
E Devin Vander Meulen II's user avatar
0 votes
1 answer
349 views

Is there a way to duplicate a section in my form by just clicking a button and without using submit?

I have been trying to add a section to my form by clicking the 'and' & 'or' buttons inside of my form but I can't find any way of doing so. This is for a WordPress plugin I'm working on btw. This ...
lennart99v's user avatar
0 votes
1 answer
2k views

Wordpress Polylang plugin: Problem with transferring categories to duplicated posts in Polylang

I am using the plugin Polylang in WordPress and trying to do the following: The Goal Avoid the default behaviour of Polylang of creating category translations when a post gets duplicated using ...
Butzke's user avatar
  • 1
0 votes
1 answer
654 views

Duplicate product in Woocommerce using Wordpress built-in duplicate URL

I'm using the link provided in the Woocommerce Products page to generate a URL which should duplicate a given product. The wpnonce has be created, and I'm also doing that. I can see a nonce being ...
ProPixel Media's user avatar
0 votes
2 answers
420 views

For each loop results in duplicate post display when post has more than one category

I have the following code: <div class="documents-posts"> <?php if (!empty($posts)) : ?> <?php foreach ($posts as $post) : ?> <?php set_query_var( '...
Garavani's user avatar
  • 795
-2 votes
1 answer
40 views

In Wordpress search results, how do I display only a unique instance of each search result?

On my websites, there are PDF files that are duplicates of each other (for a reason). So when I search "File A" I might get: File A File A As a result. They are 2 files with the same name in 2 ...
Tom M's user avatar
  • 21
2 votes
1 answer
241 views

Post title is duplicating if have_posts

I am trying to add some post titles from a custom post category. I currently have it printing the correct amount of <li> but unfortunately it is the same name. You will see I narrow it down ...
sean's user avatar
  • 119
0 votes
0 answers
90 views

Avoid Duplicate Posts In 3 Wordpress Loops

I have the following code as the header block of 3 articles on my website's homepage and category pages. However, it loads the same post 3 times. I've seen multiple answers on how to prevent duplicate ...
Tnace's user avatar
  • 75
1 vote
1 answer
346 views

Duplicated WordPress plugin activation issues. How to activate both plugins?

I have duplicated a WordPress plugin. Both plugins are working as I need, but the problem is that I can only activate one plugin at a time. If one plugin is activated then the other plugin ...
Amir Hussain's user avatar
0 votes
1 answer
731 views

Ajax duplicate data checking from database for multiple same type row

I am trying to make a form with multiple same type field (i.e. title) in Wordpress. In that case I need to ensure that no duplicate data is being attempted to insert before the form is submitted. I ...
Tajin Ahmed Nipun's user avatar
0 votes
2 answers
207 views

How to detect duplicate values in array of objects php

i have this code : $policy_id = $wpdb->get_results($wpdb->prepare("SELECT meta_value FROM wp_frm_item_metas WHERE field_id=%d AND item_id=%s", 203, $row->id)); how i can check is there a ...
Stanislav's user avatar
0 votes
1 answer
1k views

Duplicate variable product woocommerce

I want to create a script to create about a hundred of product with same characteristics but different name that are stored in a data base. I'm currently using Woocommerce 3.1.1 and Wordpress 4.8. ...
SnoAke's user avatar
  • 45
0 votes
1 answer
35 views

WordPress duplicating but same login

I've duplicated my own site to another domain and I want to run both the websites. I am confused between the same login for both the sites. The one which I copied is www.artiana.io and the one which I ...
S. punk's user avatar
  • 37
0 votes
1 answer
155 views

Search bar in duplicate (wordpress/php/bootstrap)

due to some reason I'm getting the search bar in duplicate. I suspect I have a double function command somewhere...but I can not find it. Can someone look at the code with "fresh eyes" and try to find ...
Hammerglass Finland's user avatar
0 votes
0 answers
70 views

While-loop skips entries with same meta value

I have a list of entries and some of them have the same code. For the overview of the entries I need only one of them. I created a while loop with a counter and code value checker which returns the ...
Jamal's user avatar
  • 31

15 30 50 per page