All Questions

0
votes
1answer
11 views

WPALLIMPORT Exporting images from repeater field

I am getting this ouput when I export the custom field image, s:267:"a:9:{s:10:"sm-field-0";s:4:"1228";s:10:"sm-field-1";s:4:"1229";s:10:"sm-field-2";s:4:"1230";s:10:"sm-field-3";s:4:"1231";s:10:"sm-...
0
votes
0answers
28 views

How do I use a combination of switch_to_blog() and wc_create_order()?

I'm looking for a way to create a WC order programmatically for a subsite in my multisite environment. When I use the following, the order is created on the main site and not the subsite with ID 7: ...
0
votes
1answer
18 views

Plugin translation not working on WordPress.org

I have been developed a new plugin and published on wordpress.org. I want to translate my plugin in French language. I created a .pot file and translate strings using poedit. After translation, I ...
0
votes
2answers
22 views

Child theme customizer preview doesn't work/load

Quick heads up, I know nothing much about php so I might need some extra help with this. So, I have set up a while ago a child theme for Astra in Wordpress. And while everything is working well so far,...
0
votes
0answers
12 views

redirect old permalink to the new one

I have wordpress blog and I changed my permalink to post name my old permalink was like this: example.com/id-postname example.com/123-post my new permalink is post name example.com/postname how ...
1
vote
0answers
10 views

Rewrite: WordPress URL rewrite on Search

I am trying to create a URL rewrite in wordpress. I am creating a search from through wordpress. The URL structure I currently have is the following: http://localhost:8888/?post_type=CustomPost&s=...
0
votes
0answers
11 views

Menu collapsible navbar with screen wideness

My navbar has the function to collapse to a small menu for cellphones, when the screen wideness is small enough like this. If the screen is wide enough, it shows me the normal menu first, but the ...
0
votes
2answers
29 views

Best choice for multiple loop in page?

My home page include five loop. currently i use wp_query but is it optimized ? best choice with get_posts ? my code looks like that // First loop $args_dogs = array( 'post_type' => ...
0
votes
1answer
18 views

Masonry grid with bootstrap 4

I have the following code that is supposed to display a masonry grid using bootstrap 4. I've tested the code but the grid will not be displayed correctly on desktop and tablets. On mobile instead ...
0
votes
0answers
12 views

link user to post, when its submitted via online form

Users can submit Events via a Custom Post Type (Form is made with the qform Plugin) - If the user does not have an account, an account is created during submitting the form. If he is logged-in already,...
0
votes
0answers
18 views

Translation in Plugin doesn't work

Hello my fellow WordPress Devs, i'm new in WordPress coding and try to code a free plugin for animal shelters. I want to create a new post type "Pets" this works absolute fine. But when i want to ...
0
votes
0answers
9 views

How to upload image meta tags through CSV

I am hoping you can help. I have searched forums low and high but unable to find the answer to my question. Basically I have over 600 product images in my woocommerce store that are attached to ...
0
votes
0answers
12 views

Deactivating Revolution Slider [on hold]

If I deactivate the Revolution Slider, will my sliders still be there? So if I active it again, the slider will show up again?
0
votes
0answers
5 views

Insert google maps into Pirate forms(WP Froms) Contact Formular

I would like to insert in Pirates Forms a google maps link with <iframe width="800" height="450" style="border: 0;" src="https://www.google.com/maps/embed?... Normally it works, but when I ...
0
votes
1answer
19 views

I want to place a post before all others from an ACF boleen field

I am currently trying to retrieve an post (to put it before all others in the search results of a search filter I created) from an ACF boolean field (and I am a beginner), so I made this script but I ...
-1
votes
0answers
10 views

woocomerce template

I created a page in Wordpress using DIVI theme. I use Woocommerce plugin and i want to split a template (form-login.php) in two: 1. Log in page 2. Register page. So, i created a page using DIVI theme (...
0
votes
1answer
30 views

Gutenberg Block language translation does not work

I have created Gutenberg blocks for my shortcodes, below is some code: The code in PHP file in init hook to load script: wp_register_script( 'my-blocks-script', $pluginurl . '/custom-blocks.js', ...
0
votes
0answers
14 views

How to create and assign a post-state on page creation?

I am creating a page within a plugin, I am then trying to add a post state to this page however I seem to only be able to add the state to all pages as the filter is called before the create page ...
0
votes
0answers
28 views

WordPress Comments sort by custom meta key

I want to sort comments by a number of likes which is saved as a meta_key in the wp_commentmeta table: I have tried two ways but it doesn't sort the comments by most liked comment at the top. Please ...
0
votes
1answer
18 views

Will there be security updates for WordPress 4.9.9

Since WordPress 5 is out im wondering if there are still security updates for WordPress 4.9.9 or do I need to update to WordPress 5 as soon as possible?
0
votes
0answers
23 views
+50

How To Import CPT With Only Few TEXT ACF Fields From Front End?

I have registered CPT "Contacts" and I have created 3 text fields: name, phone and address. All those fields are set as text fields, and now I want to allow admins to import CPT with those fields from ...
0
votes
1answer
25 views

How to enforce authentication for all resources?

I want to host a personal journal with wordpress. I don't want to share it with 3rd parties but I want to be able to access it from anywhere with my admin credentials. There are several plugins ...
0
votes
0answers
41 views

is_tax not working for custom taxonomy

I am trying to over-ride a custom taxonomy file from my plugin. Actually, I have 2 custom taxonomies: destination & activities. I have successfully over-ridden the taxonomy template for activities ...
1
vote
1answer
17 views

How to remove html code in excel downloads using phpspreadsheet with wordpress plugins shortcode

i trying to make excel download in front page (not admin pages) with call own wordpress plugin shortcode here is my excel download code : <?php global $wpdb; $item = get_items( $_GET['id'...
0
votes
0answers
10 views

wp-query: order by a custom-field and get one random item of another custom-field

I have a "brand" page (ex. Nike). When I click on "Nike" page I would like to show a list of all categories of their products (ex. shoes, thirts ecc). Each category of their products is listed by a ...
0
votes
0answers
14 views

Error # - 200: HTTP Error

I have a wordpress site. Since last five days I have problems with uploading. I am trying to upload a pdf file in media and also in WooCommerce. Sometime files upload without any interruption. But ...
0
votes
1answer
18 views

Hide Page Title with Post Meta

I tried to write code to have a checkbox on Pages in the backend to check if I want to hide the title of the page in frontend. But I find that the post meta is sometimes reset to show the title even ...
0
votes
1answer
19 views

Allow direct access to files/folders within Wordpress to replace wp-admin

Here is the scenario: I would like to design a brand new wordpress admin for my clients (using WordPress autoload as the core to interact with WordPress). I have tried slightly modifying the css or ...
0
votes
0answers
6 views

Show admin label in visual composer element

I'd like to edit a custom vc-element of my theme in order to show the input text, as shown in the following picture. I'd like to obtain the same result as the yellow "Custom heading" element. How can ...
0
votes
1answer
14 views

Custom post type suddenly stoped working after WordPress 5 update

I build a simple plugin that has a CPT and 1 metabox section that collect extra information from admin. It was working fine in the old version but when i just updated it to WordPress 5 it stopped ...
0
votes
0answers
12 views

Wordpress calling custom api from template by accessing buttons

I am customizing template means creating my own template so that I could access buttons and call my server Apis. I don't know how to do all these from wordpress. I know to call Api from a php file, ...
0
votes
0answers
12 views

set default value to variation woocommerce dynamically

I'm trying to set the default value for a product that has 2 attributes: 1st is size and the 2nd is city. so this product has price for each city which the city will be in the cookies. so what I've ...
1
vote
3answers
26 views

How to call plugin function per site in a multisite?

My goal is to be able to call a plugin function per site and of course it has different result based on the site data. e.g. I have a plugin called: sample-plugin.php Inside it has a function ...
1
vote
0answers
41 views

Contact 7 form fields are not working in safari

I am using contact 7 form for my contact page..it is working fine in every browsers except safari.In safari couldn't submit the form.In safari Not even able to give input values to the fields how to ...
-1
votes
2answers
43 views

Display featured image metadata?

Display featured image file size, extension, filename, type, orientation? How to display some information of featured image in post. I need to display like this in post: Detail Of Easter Desktop ...
0
votes
2answers
19 views

How do I change the size of the feature picture of a single post?

Every time I select a featured photo for a single post, the size is always adjusted and it's massive. I have changed the size of the photo within WordPress, outside of WordPress, added code to ...
0
votes
0answers
12 views

ACF data not displaying

I have a field group for displaying content in columns. For some reason, the html elements are displaying (showing me that at least my logic is working, and the data exists...) but the data isn't ...
0
votes
0answers
14 views

Unset gateway issue with page id

I have made 2 different checkout pages, so I need to hide the bank wire option on checkout page 2 and some other payment option on the other page. Here is my code: add_filter('...
0
votes
1answer
10 views

Unable to Login? [on hold]

I have tried to login to my website, and i'm actually of unsure what to do next. After i attempt to log in it opens into a new page with "Fatal error: Uncaught Error: [] operator not supported for ...
0
votes
0answers
26 views

wp_options Table keeps growing

wp_options Table keeps growing. I few days ago this issue started on my blog. I though it was a plugin problem but couldn't find a way a out so I delete it everything, wp, database, all. New ...
2
votes
1answer
28 views

Some post meta fields stop saving after a few successful saves

I've only experienced this a few times: I have a plugin with many meta fields for pages and other post types. Very occasionally, the update_post_meta() function won't have any effect with just one ...
0
votes
0answers
16 views

Sending WordPress Data (API) to SQL table

Looking for a solution that can send our WordPress checkout data to a local SQL database in certain table. We have custom form to capture data needed from user for our YII application, just no way to ...
0
votes
1answer
28 views

Generate dynamic ID's for each accordion button

Hello my awesome WP peeps. I have a situation where I have an accordion and I want to add a show/hide all button for each new accordion I add. So I'm able to generate the post ID in the admin for ...
0
votes
0answers
7 views

Create Woocommerce cart with number of products [on hold]

How to create something like this?
-2
votes
0answers
13 views

I want to build fully wordpress directory mobile app [on hold]

I want to build fully supported multisite sub domain wordpress directory multilanguage, multicountry, woocommerce mobile apps for ios and android, how to build and what resorces required to build ...
1
vote
1answer
26 views

Stuck with wp_remote_post sending data to an external api on user registration

I am trying to create a basic plugin to send user details to a CRM when a user signs up on the WordPress website as a basic subscriber. I have reached a sticking point, I have tried to interpret the ...
1
vote
2answers
33 views

Custom post type archive sorted and grouped by date in post meta field

I am trying to build an Custom Post Type for showing information about events. The Custom Post Type has name 'Event', with the following meta fields: event_startdate (date in format YYYY-MM-DD) ...
0
votes
2answers
36 views

front page redirects to non excisting page

My landingpage shows a 404 error in the Network tab in the Chrome DevTools. It automatically redirects from / to the page /startseite. There shouldn't be a page with the permalink /startseite. In ...
0
votes
0answers
12 views

Getting static data in forms [on hold]

can anyone explain me...Is there anyway where we can get the static fields on page[like title or category] on/inside a popup form, once the button is clicked?
0
votes
0answers
10 views

Disable automatic embedding of copy pasted images

My frontend forum editor uses tinyMCE. When someone copies an image from an external website (by directly copying the image itself, not the URL) and pastes it into the editor, it automatically gets ...

15 30 50 per page