fullworks
Forum Replies Created
-
Forum: Plugins
In reply to: [Quick Paypal Payments] Transfer QPP to another website.Moving a WordPress sites to new database etc is not a minor task.
It also is not specific to my plugin, but here is some guidance.
WordPress provide some documentation here https://www.ads-software.com/support/article/moving-wordpress/#moving-to-a-new-server
Although most people, especially the less technical, use a migration plugin.
I hope you manage to sort out what you need.
Forum: Developing with WordPress
In reply to: Drop-Down or Select field option?Ah you are in the wrong forum, not sure how you move
https://www.ads-software.com/support/topic/using-the-developing-with-wordpress-sub-forum/
If you are looking for a plugin recommendation, ask in the Fixing WordPress sub-forum instead
.
Forum: Developing with WordPress
In reply to: Drop-Down or Select field option?Do you have a specific question?
There are two approaches, assuming you want to develop a custom solution ( rather than use some plugin or other )
1. the ‘old’ way – write a shortcode – mainly PHP and relatively simple if you know PHP & HTML
2. the ‘new way’ – write a block -mainly javascript and quite complex to get to grips with initially
Forum: Fixing WordPress
In reply to: Fatal error: Uncaught Error: Call to undefined function _wp_expandThat is a core WP function so should be there
check if you have the file
/wp-admin/includes/nav-menu.php
and that contains
function _wp_expand_nav_menu_post_data
Forum: Fixing WordPress
In reply to: WordPress search box not workingIt is possible that the drop down on your search button is javascript controlled.
In WP 5.5 the jQuery migrate library was removed.
The first thing I would try is using this plugin that adds back jQuery migrate
https://en-gb.www.ads-software.com/plugins/enable-jquery-migrate-helper/
Forum: Developing with WordPress
In reply to: Make a post sticky after x daysGlad you have sorted it but ‘Developing with WordPress’ is not really for plugin recommendations but about development.
Forum: Fixing WordPress
In reply to: Is it safe to revert 5.6.1 to 5.6?To answer my own question.
No don’t do it – revert to a backup
I ran
wp core download --version=5.6 --skip-content --force
which should do it but it then had irrecoverable issues so reverted to backups
Just FYI this will come in version 6.0
Hi
Did you get that working?
Alan
Forum: Plugins
In reply to: [Quick Paypal Payments] Custom fieldHi
Have you resolved this yet?
Alan
Sorted in release 5.7.8
Forum: Developing with WordPress
In reply to: Send an order message to the product authorHi,
Sorry I’m only volunteering help so can’t write all your code for you, I’m sure thats not what you expect anyway.
Essentially then you will need to
1. look up the product and find its author id
2. look up that id’s metahttps://developer.www.ads-software.com/reference/classes/wp_query/
https://developer.www.ads-software.com/reference/functions/get_the_author_meta/Forum: Developing with WordPress
In reply to: Send an order message to the product authorHi there,
You are missing a couple of things,
1. shortcodes need to return value
2. the_author_email displays a result – and is deprecated you shoul duse get_the_author_meta(‘usr_email’);function woocommerce_product_author_email2 () { return get_the_author_meta('user_email'); } add_shortcode('author_email', 'woocommerce_product_author_email2');
and finally in your filter if you want to evaluate a shortcode you need
do_shortcode('[author_email]');
add_filter( 'woocommerce_email_headers', 'bbloomer_order_completed_email_add_cc_bcc', 9999, 3 ); function bbloomer_order_completed_email_add_cc_bcc( $headers, $email_id, $order ) { if ( 'new_order' == $email_id ) { $headers .= "Cc: " . do_shortcode('[author_email]') . "\r\n"; // del if not needed } return $headers; }
But I would ask, why do you need to define it as shortcode – just call get user meta directly
add_filter( 'woocommerce_email_headers', 'bbloomer_order_completed_email_add_cc_bcc', 9999, 3 ); function bbloomer_order_completed_email_add_cc_bcc( $headers, $email_id, $order ) { if ( 'new_order' == $email_id ) { $headers .= "Cc: " . get_the_author_meta('user_email') . "\r\n"; // del if not needed } return $headers; }
Forum: Fixing WordPress
In reply to: syntax errorYou are best to ask directly in the theme’s support forum here https://en-gb.www.ads-software.com/themes/accesspress-store/
Forum: Developing with WordPress
In reply to: WP 5.6 Parent and Child Themeeeek – sensitive to a space – well done anyway tracking it down!