On an external site implementing the Shopify BuyButton. By default the page will load a single product and when the button is clicked will redirect to the Shopify cart and add that product with a quantity of 1. I need to accomplish two things: The capability to change the product quantity value to a custom […]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 16 hours ago. Improve this question I have a wordpress theme thats been built by a developer thats in tailwind v2. […]
I'm trying to write a shell script that does a default setup for my wordpress websites. However I cannot find a solution to automate loading the settings into these plugins by shell command or php script. Does anyone have a solution so I don't have to manually setup/ update about 20 wordpress pages with the […]
I'm creating a job platform on WordPress, and i wanted to show apply button on a single job page if the user is candidate, Employed if user is employee, and Submit similar Job if user is employer then if user is admin, subscriber or logged out it should show login to apply. <?php if ( […]
I'm developing a WordPress e-learning website and need a way to control user access to specific courses and track their performance without requiring them to create accounts. I'm considering a method where I generate personalized URLs with tokens that represent the user and the course. When a user accesses the website, I'd like to check […]
i pasted this code into .htaccess as per the instructions from superiors. However, i didn't know it was to be pasted in the production (https) site only. `Options -Indexes RewriteEngine On RewriteCond %{HTTP_HOST} ^deskflex.com [NC] RewriteRule ^(.*)$ https://www.staging.zenapay.com/$1 [L,R=301] RewriteCond %{SERVER_PORT} 80 RewriteCond %{HTTP_HOST} ^(www\.)?staging.zenapay\.com RewriteRule ^(.*)$ https://www.staging.zenapay.com/$1 [R,L]` I dont have FileZila access to […]
Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 8 hours ago. Improve this question I made a WordPress website and I installed […]
I've been trying to get my head around some code I've been modifying to fit my purpose and needs. In a nutshell, I want to display the total amount of money spent for a user on the frontend (Based on a date range the user selects through using a date picker). Here's my code so […]
In Woocommerce, I ma using the following code that adds a custom sorting option to shop catalog by modified date. add_filter( 'woocommerce_get_catalog_ordering_args', 'enable_catalog_ordering_by_modified_date' ); function enable_catalog_ordering_by_modified_date( $args ) { if ( isset( $_GET['orderby'] ) ) { if ( 'modified_date' == $_GET['orderby'] ) { return array( 'orderby' => 'modified', 'order' => 'DESC', ); } } return […]
Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 4 hours ago. Improve this question I've run into a critical memory leak when […]