I am developing my own template for wordpress. And i need to print data from the RankMath control panel to my page. For example, i want to print meta description and meta tags in head automatically on my general page (path ‘/’).
I didn’t find any information in documentation, google gives me only one relevant result (https://www.ads-software.com/support/topic/how-to-get-seo-meta-tag-in-rankmath/), but it doesn’t works for index page.
How can i do it?
]]>/* === Add your own functions below this line ===
* ——————————————– */
add_filter( ‘woocommerce_variable_price_html’, ‘bbloomer_variation_price_format_min’, 9999, 2 );
function bbloomer_variation_price_format_min( $price, $product ) {
$prices = $product->get_variation_prices(‘max’);
$min_price = ($product->get_variation_price(‘max’))/1000; // Max price
$price = sprintf( __( ‘A partire da: %1$s al gr’, ‘woocommerce’ ), wc_price( $min_price ) );
return $price;
}
Where can I find some guidance and list of all the codes (short codes) that is required to build the shop page?
(I can write HTML and PHP)
]]>I love you plugin and I use it on my sites.
On my server, I use a not web log folder for security reason.
I’d like to have a simple way to config the default path to store Easy WP SMTP logs.
The better way should be to have a php constant (eg. EWS_LOG_PATH) and a developer could override it at wp-config.php level
If no override, the default value will be plugin_dir_path( __FILE__ ), defined in your admin_init
Thanks
Diego
]]>I’ve a question about something I asked earlier, but didn’t found the answer. First Siteground (webhoster) and I thought it was a theme thing. But spending hours and not finding a solution I tried to export my website to a subdomain and activate another theme. Here I got (unfortunately) the same problem. So, it’s not a theme-thing.
Here it is:
– When i go to the homepage of my website ([ redundant link removed ]) I can navigate with the menu to all the menu-items. They link to a section on the page. ‘Contact’ is an example. When you go to the website by using a PC you can click on ‘Contact’ and you go to the section ‘contact’ down the website. But when I do the same thing on a mobile phone, the page will not navigate to this section.
I use Phlox and activated Blocksy (theme) on a subdomain, (nieuwtheme.koenvink.nl) and I got the same issue. It is not a theme thing. So.. It’s just like there is going something wrong with the navigation by using a mobile phone.
I’d spend hours of searching, went to forums, search on Youtube for a while, but I cannot find the solution. Hopefully, you are the Superman of woman !`
]]>I want to develop a Lazy Block without adding by WordPress Admin. I have seen docs and I don’t understand examples there. I have success only with exported code from plugin, but i can’t put template path, for example:
…/<my_theme>/functions.php:
if ( function_exists( 'lazyblocks' ) ) :
lazyblocks()->add_block( array(
....
'code' => array(
...
'frontend_html' => '/blocks/lazyblock-hello-world-block/block.php',
...
),
`
ideally I would split code into multiple files (frontend, editor, css and js) of the block.
Thanks in advance!
]]>I can get the created field data with the “$fish_link = um_user(‘fish_link’);”, but with “update_user_meta($userID, ‘fish_link’, $value);” can not be updated.
]]>