All Questions

0
votes
0answers
6 views

Backgrounds Lite for WP

I installed WP-Backgrounds Lite to my WP website, AuthorDan.com, which uses the 2015 theme. Prior to this, I had set a carved stone image as background, which causes every page to have that. After ...
0
votes
0answers
6 views

Calling a python script from custom wordpress rest api returns null

So, I have a python script that uses machine learning models to predict and print a string. Running the script alone gives desired output and takes around 12 seconds to complete. Now calling the ...
0
votes
0answers
8 views

Change the column by which pages are sorted by default

A very simple question - how do you change the column by which they are sorted by default? It always sorts by Date, even though I keep changing it to Title.
0
votes
0answers
9 views

Gutenberg enqueue script error

I'm trying to link all images/gallery to be automatically linked to "media" but I always get a error as below What I did wrong, and how can I fix it. I'm highly appreciated your help. enqueue ...
0
votes
0answers
4 views

CMB2 Output Select Box Chosen Option

I have the following code for a metabox which allows the user to select a post category but I cant seem to ouput the chosen option on the front end. Any ideas ? Heres what I have so far : // Choose ...
0
votes
1answer
10 views

Walker class for sub-menu with ACF fields

Firstly, I'm wondering if this is the best way to even do this. I have a basic nav, one item has children. The children need to be wrapped in a container div and each child needs to pull some ACF ...
0
votes
0answers
6 views

Insert Content every X Comment

I'm looking to insert a CTA to users every few comments to encourage sign up to take part in the discussion. Is it possible to insert content after every 10 or so comments?
0
votes
0answers
12 views

Unable to edit and see content of WordPress pages

I am not able to see the content of my WordPress pages. Only header and footer is showing on my web pages. For your reference, I am sharing the link of two URLs: 1) https://www.accountsnextgen.com.au/...
0
votes
0answers
13 views

Visual composer: can't use shortcode in template page

I need to add a visualcomposer this shortcode inside a category template page: [vc_row][vc_column][vc_basic_grid post_type="post" max_items="10" style="pagination" items_per_page="2" element_width="6"...
0
votes
0answers
10 views

I need idea for my requirment [on hold]

My requirement is like below: 1) login to wordpress dashboard. 2) Admin can divide the wordpress users in several segment(filter). 3) Admin can able to design the segment wise template. 4) Admin can ...
0
votes
1answer
15 views

List pages by custom field?

For SEO purposes I use my URLs like this: site.com/parent/child/ Currently I have pages like this: site.com/parent/ site.com/page-1/ site.com/page-2/ site.com/page-3/ I want to ...
0
votes
0answers
13 views

The editor has encountered an unexpected error (Invariant violation) - Advanced Gutenberg Blocks

I am trying to add a product block within a post using Advanced Gutenberg Blocks but the editor is crashing every time. Steps to reproduce the error: I add a product block I search for a product, the ...
0
votes
0answers
8 views

CentOS 7 cPanel - Setting Correct Permissions

I have a pre existing server running whm/cpanel which has a Wordpress site that needs to be moved to its own server. I have move the files and database across and everything is ready except for a few ...
-1
votes
1answer
8 views

ACF - Query relationship without ID

i have different CPT ( hotel, market, city, etc… ) My relationship field is used to link CPT to cities (CITY). Now in a page ( hotel page ) i want to link “other hotels in same city”. how can i ...
0
votes
1answer
9 views

How can I perform high-level database merging for WordPress within continues delivery?

I've a bit of a problem. I'm currently trying to realize a WordPress development process regarding to one of my old question / topic: https://stackoverflow.com/questions/48890019/wordpress-...
0
votes
2answers
12 views

Fallback default image when there is no featured image

I have tried many options but without luck. It should be very simple approach but does not produce results. I am trying to insert default fallback image if there is no featured image in the post. My ...
0
votes
0answers
8 views

Search by tag inside category page woocommerce

I am working on this site http://peelslapstick.juvoclients.com/ and inside category page there is a filter on the left with the tags (using location names inside tags), this tags were included using ...
0
votes
0answers
3 views

Different search results with Wordpress and Relevanssi

I am new here in the forum and in the WordPress world and need help with following problem. It's about a website that is using WordPress and several plugins like Avada, Fusion Builder, Fusion Slider ...
0
votes
1answer
14 views

why is my paypal button not clicable [on hold]

i'm getting crazy with a problem that is probably a stupid thing. Yesterday, i make some little design change on a site, to get the paypal button displayed on a second column of an area. But since ...
0
votes
0answers
11 views

Wordpress Woocommerce Checkout page customization by taking the payment at the top of billing section [on hold]

I am working on my wordpress woocommerce website checkout page and I would like to move payment option selection to the top left corner above Billing fields. Then when customers select the "paypal" ...
1
vote
0answers
20 views

Wordpress returning 404 for multisite pages

I'm trying to configure a WP Multisite to run locally, all is fine on the server, but getting this to run locally is turning into quite a pain. The issue I'm currently seeing is that some of the sites ...
0
votes
0answers
10 views

Wordpress PDF generator not working after WordPress migration

I recently just migrated a website with some PDF generate code that generates PDF's after a contact form 7 submit. Now I have some problems to generate PDF's on the new server. Almost everything ...
0
votes
0answers
17 views

Why do plugins need to be deactivated to update Wordpress?

In the Wordpress update instructions, it is strongly instructed to deactivate all plugins before manually updating Wordpress' core. Why is that necessary ? What are the potential consequences if I ...
0
votes
0answers
6 views

Wordpress - This site can’t be reached [on hold]

This WordPress web application is a woo-commerce integrated e-commerce site. I have not being working on it lately, but last time i visited it worked fine. Now when i visits any page of the website ...
0
votes
0answers
8 views

Cloudflare updating failed when create/edit post

Hi, i got 'Updating failed' this morning when i try to put any image from media or using any link. I used Cloudflare for security, but yesterday still ok. Upload featured image is no problem, only ...
1
vote
1answer
12 views

Set a condition based on WooCommerce checkout city field while placing order

How to make condition on WooCommerce checkout field like when user select city "Indore" then on place order email goes to indore@gmail.com and when he select "Bhopal" city then email goes to bhopal@...
3
votes
1answer
16 views

Looking for all available options of Gutenberg Block

I am trying & learning to build custom block for Gutenberg but spent a few hours on searching for full list of "available options". Maybe I was overlook... Refer: Template and Block For example, ...
0
votes
0answers
8 views

Conditionally watermarked post image

I have a plugin that adds a watermark to certain image sizes when a post with a specified meta field is saved, if it has an image that should be watermarked. It uses WP_Image_Editor to add/position ...
1
vote
1answer
15 views

Is there a way to append meta data without creating a race condition?

Our site has a lengthy AJAX function that appends content to the user's cart, which is stored as an array in the usermeta table. The function looks something like this: $cart = get_user_meta($userID,...
0
votes
1answer
9 views

What allows a template file from plugin to be copied in child theme and overridden?

In popular plugins, like WooCoommerce, a developer can copy the template files into a [child] theme to override files. I believe this is possible with Beaver Builder as well with some of their modules....
0
votes
0answers
14 views

WordPress post_status and meta_query

I created a custom post status and I would like to set auto-change (clients are filling two dates, precomming and ongoing). How can I do auto-post-status change when it is after precomming or ongoing ...
3
votes
1answer
26 views

Counting number of posts with Category B in Category A

I'm currently building my own backlog tracker and have gotten to a point where I just have no idea how I'm going to do this. I have multiple status categories (for example; beaten and completed) and ...
0
votes
0answers
14 views

Foreach loop through Gravity Forms entries

So, I'm trying to iterate through a foreach loop of all the entries to a gravity forms form. I have it sort of working in a template, but I need to put it in a class (creating a calendar and need to ...
0
votes
0answers
12 views

How can I measure CPU and RAM used by my theme or plugin

I have produced a few plugins for WordPress, but other than generating errors, I don´t have a way to tell if my plugin is doing things right. How can I tell the ammount of CPU time and RAM my ...
0
votes
0answers
12 views

Adding Mailchimp subscribe into custom theme

I am creating custom theme and we would to add Mailchimp subscribe form. This is somewhat easy with Mailchimp for Wordpress plugin, but this plugin creates forms with certain ID and there is no ...
0
votes
1answer
16 views

Public WP website with one area just for members

I want to create public WordPress website (for a sports club), but with one closed area just for the members. The public part of the site will have the usual pages: club info, photo gallery, contact ...
1
vote
1answer
6 views

Media Gallery Upload Thumbnail Compression is Changing Image Hue

When I upload an image to my media gallery, all the image sizes that are generated are discolored. Here's an example. This is the full-size image: And now here is one of the smaller image sizes: ...
0
votes
0answers
17 views

Hide children of one specific category from the category-list on post

I'm sorry for that question for which the answer is probably obvious... I don't know javascript, and usually i manage to kind of understand the codes i find here and to mix them, but this time I have ...
0
votes
1answer
19 views

Block a specific url request

I probably have a plugin that makes a request to an URL slowly down my website. At the moment I'm still debugging the issue but, in the meantime, is there a way to prevent Wordpress to request this ...
2
votes
2answers
18 views

Fatal error: require(): Failed opening required 'WP_DIRwp-blog-header.php'

I am a game developer, not very familiar with web programming. I am trying to tie my website point system, MyCred, into my games. Mycred has code snippets for interacting with the points from another ...
1
vote
1answer
16 views

My plugin wants to update another plugin

I am having issues when I view my installed plugin page, it's telling me there is a new version available. If I click the view version or view details links, it shows a completely different plugin ...
1
vote
1answer
37 views

How do I search WordPress by different fields without a plugin?

I'm building my own WordPress theme, and I would like for my search queries to search posts by keywords in the title, categories, tags, and content. As of now, I believe that my theme is only ...
0
votes
1answer
11 views

Calling JavaScript by plugin vs wp_enqueue_script() [on hold]

I have been reading various articles about how to properly call JS files in WordPress. All seem to say that using wp_enqueue_script() is a best practice, but that using a plugin, such as headers and ...
-1
votes
1answer
18 views

How do I find a shortcode stored in wordpress?

I need to find a shortcode - [shortcodename] - in WordPress. How do I do that? There doesn't seem to be a search option, which seems a bit ridiculous for a editing tool. Thank you.
1
vote
1answer
12 views

Add table controls with wp_editor minimal editor configuration ('teeny')

I want to add the table controls for wp_editor(tinymce) initiated with teeny=>true. Here is what I have done so far (without success): <?php $tinymce_options = array('plugins' => "table", '...
0
votes
1answer
18 views

Where to upload JavaScript file in WordPress

I am using the headers and footers plugin to call a small script I made by pasting the script directly into the user interface of the plugin. However, I would like to upload a JS file and call that ...
0
votes
0answers
7 views

What can make a 404 timed redirect? [on hold]

Some of the older posts on my page will, after a time, redirect to a 404 page. If the page is refreshed, you're brought back to the original page (no 404) How can I find what is causing this and ...
0
votes
1answer
21 views

Appending „read more” to the excerpt conditionally

I wonder if anyone knows how to add an if to this function. I need the read more to only be added to the the_excerpt when the category is 429 function mywiki_trim_excerpt($mywiki_text) { $text = ...
1
vote
0answers
15 views

Wordpress custom post type permalink rewrite shows page not found

I need to have 3 custom post types in my wordpress site, each one being a parent of another. Courses > Series > Episodes I have fully created a functions file that registers the custom post types ...
4
votes
1answer
36 views

Blocks: set a default value for a TextControl

I'm creating a block similar to the WP Core Table block, which first presents the user with a form to set the number of rows and columns. I'd like to set a default value in the TextControl for the ...

15 30 50 per page