What’s the best way to update my WordPress theme to Elementor?
What’s the best way to update my WordPress theme to Elementor?
What’s the best way to update my WordPress theme to Elementor?
Changing the “OT Process” Plugin’s Default Slug of /process/
additional fields based on the quantity of products selected
The plugin looks like it’s specific to the site, and not in danger of being updated by WordPress, so you can change the plugin’s code without much fear of losing it. Either option you mentioned will be fine, though I recommend the second option, to keep things together. Typically the theme would be in charge … Read more
remover item do carrinho na página de checkout
You can access another database using the wpdb class and its associated methods. You will need to instantiate a new connection to the other database using the appropriate credentials. Here is the basic code to set up the new connection and query the database: $mydb = new wpdb(‘username’,’password’,’database’,’localhost’); $rows = $mydb->get_results(“<your SQL query here>”); Replace … Read more
WordPress does have a helper function for detecting mobile devices, wp_is_mobile() (untested): if ( ! wp_is_mobile() ) { echo do_shortcode( ‘[meta_gallery_slider arrows=”false” show_caption=”false” show_title=”false” autoplay=”false” slider_height=”450″]’ ); } As Jacob Peattie mentioned, this is unreliable. Better option is to use CSS to show the output only for viewport widths above specified value (untested): PHP: printf( … Read more
It’s possible the script is coming from the database. If you have access to WP CLI, you can use the db search command to search for occurrences in the database, and then the search-replace command to update the occurrences. You’ll likely also want to consider searching for https://https://, as that appears to be occurring in … Read more
Your selectors are wrong. { attributes: { link1: { type: ‘string’, source: ‘attribute’, attribute: ‘href’, selector: ‘.btn-afil-text-card a:first-child’ }, link2: { type: ‘string’, source: ‘attribute’, attribute: ‘href’, selector: ‘.btn-afil-text-card a:last-child’ } }, } Both of your a elements are the first (and last) children of their parents, which means that your attributes are each getting … Read more
How to create different woocommerce single_product.php pages for each product? [closed]