All Questions

0
votes
0answers
2 views

Possible to stay on Version 4?

The recent security Update to WP 5.0.1 also brough an update with Version 4 to 4.9.9. I got a clients project which where build on swamp land ages ago. Every Update is Hoping nothing will happen. ...
0
votes
0answers
4 views

Wp function > Shortcode with SQL Query

actual i have the following problem I`ve an DB with informations like sku/gtin, price, url, name... now i try to create a shortcode which selects the data basend on one sku my Code is function ...
0
votes
1answer
4 views

Multisite has SSL certificate, but media library is still http://

Our multisite WordPress installation has a URL of https://xx.com for the main domain, and - for example, https://yy.xx.com as a subsite. We're using WP's in-built domain mapping feature. Media ...
0
votes
0answers
6 views

WPALLIMPORT- Mismatch data in images meta ( description )filed?

Im using wpallimport plugin from very long time. this is first time Im facing this issue. This all data for 1 post. Now here how i use wpallimport meta fields everything seems work good, just face ...
0
votes
0answers
9 views

WP_Query is not returned correctly outside of WordPress

I am adding the following code in functions.php and it works fine: function posts_per_day_by_authorid( $userid, $post_type, $year, $month, $day ) { $query = new WP_Query( array( 'author'...
0
votes
0answers
6 views

Add custom attribute to product's HTML to woocommerce cart page

I'm trying to add a data-attribute to WooCommerce's cart page. The cart page populates a table with each row being a product that has been added to the cart. I'm able to add a data attribute into ...
0
votes
0answers
11 views

Gutenberg: Can't leave Classic Paragraph [on hold]

Just when I started to warm up to Gutenberg, out of a sudden the interface has changed and all text blocks in my new post have changed to classic paragraphs. Converting to blocks does not help. Can't ...
0
votes
0answers
10 views

How to isolate uploads folders in multisite

In my Wordpress multisite subdomains, a link to a file in uploads folder of a subdomain can be accessed regardless of what subdomain is in the url. For example, both: http://sub2.example.com/wp-...
0
votes
0answers
5 views

Is it Helpful to transfer all media library to another host?

I want to transfer all media library including all images to a download host and my goal is the speed of loading website improve for example my website is example.com and all images load from cdn....
0
votes
1answer
12 views

How to change url for taxonomy pages?

My Wordpress default category has 'news' category term. I created custom post type with name 'artist' and custom taxonomy named 'genre'. Now what I set in permalink section is below custom structure -...
2
votes
2answers
37 views

can not upload file .vtt on wordpress 5.0.1

I updated my site to wordpress 5.0.1, but now I can not upload file .vtt anymore. This function works properly on wordpress 4.9.8
0
votes
0answers
9 views

403 Error when using save buttons

I just installed Wordpress on my home server. Everything was working fine until a hit a save button in a plugin and got a 403 error saying I didn’t have access to ap-admin/options.php. Strangely ...
0
votes
0answers
9 views

QR code google form response through wordpress site

i created a attendance sheet by using google form for my students and that form response URL was converted into a qr code. when the the QR code was scanned google sheet will simply add that response. ...
1
vote
1answer
14 views

Changing user_nicename

user_nicename has the same value with user_login. I want to change user_nicename value only by using code snippet into functions.php or wp-config.php. Is it possible without using phpmyadmin or any ...
0
votes
1answer
15 views

I can't figure out what's wrong with this statement. $wpdb->query update

I'm trying to use the $wpdb-query method, but can't seem to get it to work. I get a 500 error when I try the following: $update_status = $wpdb->query($wpdb->prepare("UPDATE {$wpdb->prefix}...
0
votes
0answers
9 views

Advanced Custom Fields add custom fields in user meta table after user is created [on hold]

How do I create programmatically using Advanced Custom Fields Pro on a new user new entries for profile data over ACF? Getting to the point of creating a new user by a script I want to be able to ...
0
votes
2answers
12 views

Missing background image setting in admin of twenty nineteen

I have installed fresh Wordpress 5.0 with twenty nineteen theme. In admin panel for home page below colors setting a link to setting background image should be visible. See https://www.youtube.com/...
0
votes
0answers
17 views

Homepage was doubled and cannot be adjusted in Elements

Could anyone help us with a problem with WordPress website? We met with a problem that the homepage was doubled and we couldn't adjust it in Elements. We can create new items in Elements and it works ...
1
vote
0answers
15 views

Gutenberg is Adding Additional HTML Tags When Grabbing the Excerpt

I am running into an issue with Gutenberg where I want to display the excerpt of a post, even when the excerpt field isn't filled in. Usually the functionality of WordPress is when the excerpt is ...
1
vote
0answers
12 views

403 Error when text is pasted in Custom Metabox Textarea

I hope everyone is having a great day! I am creating this question as I have been stuck on this issue all day and I need some friendly advice. I have created a repeater custom metabox item for a ...
0
votes
1answer
10 views

Multiple WordPress sites with different theme and plugin sharing the same content

I want run Multiple Wordpress websites with different theme and plugin using one database where the content remains the same in all websites. 1- site.com - Main site 2- siteb.com - Should use site....
0
votes
0answers
13 views

update ACF user metas programmatically

I use woocommerce where I have a custom hidden field on checkout page which is populated by a survey. Each user has some user metas created over ACF and I would like to add this hidden data to ACF. ...
0
votes
0answers
7 views

Display Title/Description/Caption of custom images on homepage

I want to display the Title/Description/Caption of custom images on my homepage, here is the current code in functions.php file that only displays the image: <div class="partners-logoarea"> ...
1
vote
0answers
13 views

wp_insert_post_data filter not working correctly after upgrade to Wordpress 5

I have the following code in a project. function vb_post_modified_date_update($data, $postarr) { if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) return; if (!empty($...
0
votes
1answer
20 views

Modifying post content with the_post action hook

I'm trying to understand the best way to modify the way that search results are displayed with my custom post type. I've got the search function working properly and giving the correct results and now ...
0
votes
1answer
32 views

why does not my wp_query work?

i want to display archive of posts for post type of post. so i created a page template and insert the following codes but i display nothing. why? what should i do? <?php $postnumcat = new ...
0
votes
0answers
6 views

Where is php.ini in Windows Server 2016 installation [on hold]

I'm sure this is a ridiculously dumb question, but I have installed PHP (a couple years ago) on a Windows Server 2016 machine, and I can't find the php.ini file. I'm trying to change the ...
1
vote
2answers
16 views

Why wordpress kicks me back to the dashboard of xampp?

Somehow when I was working with my local dev environment, I have made some mistakes in some php files which I could not figure it out. So, I have decided to copy the files from the 'public_html' and ...
0
votes
0answers
9 views

How to cache for multi server environment? Memcached, Redis or other?

Am researching ways to speed a a multiserver wordpress install. In the past there was plugins like batcache that used memcache to store objects. That plugin is outdated and wanted to know in 2018 what ...
0
votes
1answer
24 views

Who updates the wp-admin/core file?

I can see it's a CDN file and I can't access it. My security plugin alerted me that there had been a modification to the wp-admin/core file, but I didn't change anything. I haven't updated to 5.0 yet. ...
-2
votes
0answers
10 views

Please provide me code for update select query with for WordPress. I want to use with $wpdb [on hold]

Please provide me code for update select query with for WordPress. I want to use with $wpdb nd data how can i store data in db How i can embeded these code in my wordpress php file
0
votes
0answers
20 views

How do i load javascript on a specific custom post template via functions.php?

I want to load some javascript on a custom post template called progress-posts.php. Using: if (is_page_template( 'progress-posts.php' )) { wp_enqueue_script( 'progress-box', ...
0
votes
0answers
15 views

Redirect 301 link wordpress

Hello I have the problem if you can help me looking to fix it and I do not know how to search on the net it is possible to be automatically redirected without having to manually redirect 301 to each ...
0
votes
1answer
9 views

Using Wordpress custom post type to display StoryMapJS

So I want to use StoryMapJs on my website, and I want to be able to manage these via a custom post type. I've created a custom post type and fields for each option, but I'm struggling to get them to ...
0
votes
0answers
5 views

Transitioning themes: How to move content from layout builder to postmeta/acf in database

Context: I'm fairly new to Wordpress ( less than 6 months experience ). I have a client looking to improve their site performance and get a slightly fresher look. They have several hundred posts &...
0
votes
1answer
13 views

Echo term slug op post on archive page

I want to echo the term slug for each post on an archive page. To get the term slug i'm using the following code: $terms = get_the_terms( get_the_ID(), 'type_kennisbank' ); That returns me the data ...
0
votes
0answers
4 views

Wordpress external autentication

I have question about autentication. I have external aplication (with login form) for autentication users, it is not wordpress. Other apps use this application, it is SSO. Now I needed to change ...
0
votes
0answers
3 views

WP meta query: multiple date compares if datepicker is not null

I am trying to build a meta_query which will return all posts that have at least one of their datepicker value greater than today. If the value of the datepicker is null then I don't want to be ...
0
votes
0answers
10 views

DIVI - Child theme modify footer siderbar

I would like to modify semantic H4 (default DIVI) by span with custom class CSS. In my child theme function et_widgets_init_overwrite() { register_sidebar( array( 'name' => esc_html__( '...
0
votes
1answer
9 views

Add width & height attributes to Gutenberg’s image output?

Images inserted via Gutenberg don't have width & height attribute by default. I'd like to use those for lazy-loading purposes so image is positioned correctly. Is there a hook or something to ...
0
votes
0answers
7 views

Change WooCommerce template for PDF - access to custom field

I want to do some modifications to a template of WooCommerce, but I'm rather ZERO in PHP, so that is why I'm asking some guidance so I could perform my small modifications, which I'm sure are not too ...
0
votes
1answer
17 views

Validate custom fields before save using WordPress Rest API

I want to add custom validation to post(custom post type) before it save into the WordPress. I am using the Rest API to insert the post to custom post type. What I need is the fields which I created ...
0
votes
1answer
20 views

Order by Date Custom Field

I'm trying to display a list of upcoming football matches in order of kick off. The code I currently have lists the dates in the correct order but the posts ordering is incorrect. $previews_new_loop =...
0
votes
0answers
13 views

How to upload 3 attachments to current post?

I have a form which updates a post but when updating I need to be able to also upload 3 posts: <div class="form-group"> <input class="form-control" type="file" tabindex="3" name="custom-...
0
votes
0answers
10 views

White space between header and smart slider (on mobile devices and tablets only) [on hold]

Having a problem with the white space between the header and smart slider (on mobile devices and tablets only, it does work fine on desktop). Do you have any suggestions how to fix it? Thank you ...
0
votes
1answer
15 views

Include fields by Advanced Custom Fields plugin in v2 API response

I'm using WP5 with the Advanced Custom Fields plugin. How to include custom fields added by this plugin in the REST API? Update: I'd like to add all of these custom fields to Page.
0
votes
1answer
12 views

Using ACF Pro plugin - How to get alt tags using repeater with Image ID? [duplicate]

I have the following code for calling the images in the slider but no idea on how to get the alt tag. I tried varied methods but I could be missing something. Please help. Possibly I am missing this ...
0
votes
0answers
9 views

Load Disqus comments after clicking a button

I have an official Disqus plugin installed on my site. However, I would like to load the comments only after user clicks on a button - "Load comments" for example. Comments should remain hidden until ...
0
votes
1answer
7 views

REST Endpoint API 404

I recently have been led to REST Endpoints within WordPress on another one of my posts. However following the guides/provided solution results in a 404 of the expected endpoint API url. My code is ...
0
votes
0answers
10 views

How to add a inbuild block using a code? [on hold]

How I can add an inbuilt block using the code directly to the Dashboard??? Is there any function?? or code which add a block, for example, shortcode block.

15 30 50 per page