All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Post Image alt text not appearing in WordPress website

We have a free classified website Asan Classifieds, In WordPress we updated website to Advanced Custom Fields v5.8.1! After that image alt text not showing up, even we cannot edit image, my question ...
0
votes
0answers
3 views

Checkbox field that add a subscription product and change prices of other products in checkout and cart page

In Woocommerce checkout section, I am trying to add a checkbox that adds an additional subscription product. It is working fine and I took help from here One more requirement is that if there are ...
0
votes
0answers
8 views

An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration?

I am working on Wordpress when we are installing the theme and plugin, it showing unexpected error configuration showing, how to resolve it.
0
votes
0answers
9 views

wp_mail() broke my code

I'm not sure why, since it never occurred before, but this time wp_mail() actually caused a problem on one of my page. not sure what's causing it either. Any idea how it could have happened?
0
votes
0answers
3 views

WordPress MU 3.0.0 Allow returning users to sign up for another site

I only want to allow for each member to be able to create 1 site, when a returning user goes to the wp-signup.php page it says Get another Is Now Live site in seconds Welcome back,______. By filling ...
0
votes
1answer
8 views

Vagrant Access index.php

I believe this is the right place to ask. First, I've installed VirtualBox and Vagrant. After that, I've cd'd to this: https://github.com/LearnWebCode/vagrant-lamp (downloaded zip, extracted folder) ...
0
votes
0answers
7 views

How to create a WordPress gallery with pagination

How would I create a gallery like this - https://www.sumcoco.com/2019/02/08/30-dutch-braid-tutorial-for-2019-latest-season/27/ The pagination also changes the url for each image... I know the above ...
0
votes
0answers
6 views

my website is not opening , i used hostinger.in and freehosting

I have installed WordPress at freehosting.com after changing the name servers from hostinger.in. before I had done it from godaddy and it did work
0
votes
0answers
6 views

Suggestions for a multi-page ordering form with images and running total/stats

Wondering if anyone has come across a Wordpress solution to create a multi-page ordering form similar to Tesla: https://www.tesla.com/model3/design#battery multi-page running total and stats images ...
0
votes
1answer
13 views

I can't get a return value from Ajax

I have an HTML form that is used to send messages to a back end server. When the user clicks the send button, it triggers a javascript that makes an Ajax call to WordPress which in turn, makes an API ...
0
votes
0answers
8 views

non-www subsites redirect to main site instead of correct sub-site

I'm having problems with non-www versions of my MU sites. My MU sites are like this: Main Site => www.maindomain.com Site 2 => www.domain2.com (domain2.maindomain.com) Site 3 => www....
0
votes
0answers
4 views

Migrating from Ultimate Member to BuddyPress with Formidable Forms

I had to create a view for Formidable Forms to display in custom tabs in Ultimate Member. We are moving to Buddypress since we had so many bugs with UM and I need the same PHP snippet but with the BP ...
0
votes
0answers
4 views

Woocommerce error: Product data tabs had no style

For some time ago, I would change a price for a product. I notice that the field "Product data" has no design. I have checked the Woocommerce log file, where everything looks fine. I also completely ...
0
votes
0answers
5 views

Using WC Fields Factory plugin, how to move label from beside value to above?

I'm WC Fields Factory plugin, I was wondering how to move label from beside value to above the value?
0
votes
0answers
7 views

How do I run an action after a featured image has been selected in the Gutenberg editor?

I have found a few tutorials such as a DigitalApps.co and That Dev Girl explaining how to use "wp.hooks.addFilter( 'editor.PostFeaturedImage'"... in order to create/replace the content of the featured ...
0
votes
0answers
25 views

Pass a value returned by a function inside a plugin - Woocommerce PHP

there are more topic on this argouments but I still have this problem. I'm trying to change the total price of my cart in woocommerce, passing a variable from the outside. My class Class nameclass ...
0
votes
0answers
10 views

Wordpress REST API customize 'Access-Control-Allow-Headers'

I am trying to set up a custom header param that can be passed to my Wordpress REST API but for some reason it keeps defaulting only to x-api-key. Following this github issue, in my functions.php I ...
0
votes
1answer
6 views

What happen to the WP Bakery aka Visual Composer after updating to WordPress 5+?

After updating A WordPress site to version 5+ that also uses WPBakery, you end up stuck in the classic mode without the visual editor.
0
votes
2answers
11 views

Loop is crazy - one row displays wrong count of posts

Im having a loop with count to add a clear after 4 items. It is working pretty well but theres one rebell row that will only take 1 post. Code: <section class="bonds-funding"> ...
0
votes
0answers
5 views

edit_form_after_editor hook not work

I'm following a tutorial to create a custom page builder based on bootstrap 4. I have a problem with the page template registration, I've installed the classic editor and I've tryed to make it a ...
0
votes
1answer
10 views

I can not include page to wordpress function add_filter, the_content

Wordpress Function add_filter I want to include extra page, on add_filter How can I correct this ? Thanks in Advance ! function page_content($content) { global $post; if ( is_object( $...
0
votes
0answers
11 views

How to add “er” after particular days of the month in php?

I am working on a html/php code as shown below: <?php if(ICL_LANGUAGE_CODE=='fr'){ ?> /* When the page is in French */ <time datetime="<?php echo esc_attr(date_format($ts, 'H:i d-m-Y'...
0
votes
0answers
9 views

How to run phpunit test for all files which wordpress plugin have

I have phpunit tests for plugin and it`s works only for main plugin file (screenshot 1). But I need test all files from plugin. For example I have file in "includes" folder (screenshot 2). And I ...
0
votes
0answers
16 views

else from is_home() function doesnt work [duplicate]

i want to put on navbar to slider when in homepage,also i want to put top navbar when in other pages.so i encoded this: if ( is_home() ) { echo' <nav class="navbar navbar-expand-md navbar-...
0
votes
1answer
11 views

When a plugin gets updated from the repo, does the “activation” hook fire again?

When you activate a plugin, it goes through the whole activate .. bounce to the next page thing. Does the plugin fire that hook when it is updated, or only during the initial installation?
0
votes
0answers
9 views

wp-cli: Access denied for user (but it's ok if using mysql client)

it's really strange: I can connect using mysql client but not using wp-cli. I copied my WP site 5.2 to a new server (Ubuntu 18.04.2) and the webserver Apache2 serves my WP website correctly. ...
0
votes
1answer
14 views

How to check woocommerce single product tag

I want to check product tag at single product page. For example, when user access single product page if that product tag is "adult" redirect to main page. I found is_product_tag() but this ...
0
votes
0answers
13 views

Loop on table with two custom post types

I need some help here. <tr> <?php // The Query $args = array( 'post_type' => array( 'pratos_dos_dia', 'grelhados_do_dia' ), 'posts_per_page' => 12 ); $the_query = new WP_Query( $...
0
votes
0answers
5 views

LearnPress: Course Overview not displaying Course Features table [on hold]

In the demo site course overview displays course features table like this: but after adding lesson and course the features table does not show up and its something like this:
0
votes
0answers
9 views

Modifying WordPress Navbar

My first question here.:) I need to modify the WordPress Navbar on my website. When I've asked this question previously on another site...I was told that my website is using a custom WordPress ...
0
votes
0answers
7 views

Media library management and plugins

I would like to find a good way to manage media files. The features I'm looking for are: Integrated with the built-it library to extend its functionalities Being able to manage it server-side (e.g. ...
0
votes
0answers
7 views

Make alt text required when setting a featured image

In the EU it will shortly be a requirement for public sector websites to have alt text for uploaded images. My organisation's users are rubbish at adding alt text, however, and I'm trying to find a ...
0
votes
0answers
13 views

Spacing/Layout suddenly not showing up correctly anymore - Elementor Page builder and Phlox theme use

I am building a basic personal website using Wordpress, Elementor Page Builder and Phlox Theme I am not a web designer so only just finding my way around. Today I noticed a new issue with my ...
0
votes
1answer
20 views

get_post_meta and add_post_meta not working

I have a code like below but it returns the false. There is data in $ggowlccpy_transaction_details_capture and the order id is being correctly passed. This is for woocommerce order meta. I don't ...
0
votes
1answer
6 views

wp-cli PHP Notice after moving server behind load balancer

After setting up an Amazon Elastic Load Balancer, where SSL terminates, I was getting Mixed Content errors on the site, until I added the following line to wp-config.php. if (strpos($_SERVER['...
0
votes
2answers
33 views

Make WooCommerce product categories only show images on homepage

I am trying to set up my site so that my WooCommerce product categories only show images on my home page. Currently I have this: <?php function fp_categories() { if( is_front_page() ) { ...
0
votes
0answers
19 views

Show widget on single product page if i has a certain tag

I'm using the Widget logic plug-in https://wordpress.org/plugins/widget-logic/ to show or hide a widget on a single product page if the product has a certain product tag. I use is_product() && ...
0
votes
1answer
14 views

Ajax: load content from post I clicked

Why this load whole page HTML, not selected post content? FUNCTIONS.PHP function my_action_callback() { wp_localize_script('main_js', 'ajax_custom', array( 'ajaxurl' => admin_url('...
0
votes
0answers
12 views

Hiding Posts by Country IP Address

Hi Wordpress Stackexchangers! Looking for a bit of assistance on how I might be able to hide posts on the Wordpress Front Page (and through the archives and search pages) by their country of their IP ...
0
votes
1answer
15 views

Filter Gutenberg Blocks Content

I have a simple terms page made up of heading and paragraph blocks. I'd like to filter the_content before output in order to get the content of any heading blocks and create a menu with links to named ...
0
votes
0answers
10 views

An unexpected error occurred. Wpforms Lite [on hold]

An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. Wpforms Lite
0
votes
0answers
18 views

WP_Query order by amount of matching meta keys

I'm trying to add functionality to a search function working around WP_Query, at the moment everything is working just as intended all I need now is to have the outputted results get order according ...
1
vote
1answer
19 views

Remove post type slug of all post types from permalinks

I know similar questions were asked before, but this is new account and I can't comment there. This code remove post type slug from permalink. But I have a lot of post type. How can use this code for ...
0
votes
2answers
20 views

Redirect user to a custom url after logged in

I'm using "Passwordless Login with OTP / SMS & Email - Facebook Account Kit" for login. I want to redirect user to http://www.domain.com/author/<username>/screen after they log in this is ...
0
votes
0answers
10 views

Hide BBPress create topic on one page

Hi sorry this is really basic question. I was just starting to explore wordpress and bbpress, I have a page with the forum index using the shortcode, when I enter a forum it has all the topics and the ...
0
votes
1answer
10 views

localize_script or rest api

If the data is available in both options, in what use cases should i use the localize script to make data available to my javascript code, and in what cases should i use the rest_api? I have a custom ...
0
votes
1answer
19 views

Can I move a Wordpress installation to an IP (without domain name)?

I have a Wordpress installation in a subfolder of a domain: http://www.example.com/wordpress I want to move it to a hosting space with no domain name: http://123.123.123.123 Will it work? I want ...
0
votes
2answers
20 views

functions.php - inject inline css from file

I would like to read from a .css file and inject it as an inline style in wp_head. it's possible? i've tried this "Add inline css to theme" solution but it doesn't do what I expect because I expect ...
0
votes
1answer
29 views

Wordpress 404 unless there is a space in url

I got a previous question answered and I tried amending the solution, but now the problem is when there is NOT a space in my custom post URL the tag at position /location/ (in domain.com/malta-...
-1
votes
0answers
16 views

WooCommerce Variable Product Price

i am trying so hard to create my product price link below style also with radio button and images option together but not 100% success. BASIC PRICE IS $554.99 Variable Options Fabric (Selectable ...

15 30 50 per page