Louis Wolmarans
Forum Replies Created
-
Hi there,
It seems like your content is inside a “Text Editor” widget, of which the output could be cached. You can disable caching on individual widgets in the Advanced Tab.
See: https://elementor.com/help/element-caching-help/
Kind regards
LouisAlternatively, you can use the same approach as this user:
https://www.reddit.com/r/Wordpress/comments/16rv585/ideas_on_how_to_implement_multi_currencies_on_a/There’s a plugin called Multiple Currencies for Paid Memberships Pro which I’m currently using that allows me to create a membership plan and change it’s currency, so I currently have 6 memberships, EUR, USD, GBP (each having two plans for anual and monthly options) and use geotargeting to show the plans to the correct region
Hi there, sorry for the late reply. Somehow I did not see this ticket.
No, this plugin allows you to set different currencies per membership level.
This gist might get you started with Geo-location:
https://gist.github.com/greathmaster/e17e785fbd9453c82877fbd66f28a596
Kind regards
Hi there, sorry for barging in here.
Just a note that there was a new version released of https://www.ads-software.com/plugins/pmpro-multiple-currencies/
The fact that it didn’t look maintained in the past was just because there were no reported bugs.
In the new version we added some more locations for the currency filter, and hope to work with PMPro core to be able to add even more locations in the future.
Kind regards
Forum: Plugins
In reply to: [Multiple Currencies for Paid Memberships Pro] Is this still goodIf you have a tweak that might be beneficial for everyone, I would suggest that you just open a PR on the plugin repo and I’ll be happy to review it.
https://github.com/louiswol94/pmpro-multiple-currencies
Thanks!
Forum: Plugins
In reply to: [Multiple Currencies for Paid Memberships Pro] Is this still goodI am the author of the plugin.
The reason for the rare updates is because since the release there were no reported bugs or more feature requests.
So it is working stable at the moment.
Kind regards
Any update here?
Forum: Plugins
In reply to: [BP Profile Search] Add Usermeta dataThat did the trick. Thank you so much Andrea!
Forum: Fixing WordPress
In reply to: HTML code in author bioHi,
How about trying this plugin then?
https://www.ads-software.com/plugins/wp-html-author-bio-by-ahmad-awais/
Hope this helps?
Regards
Louis
https://wemanageyoursite.com/- This reply was modified 7 years, 4 months ago by Louis Wolmarans.
Forum: Fixing WordPress
In reply to: How get the category slug of adjacent postsPlace this code in your functions.php:
function adjacent_post_by_category( $category, $direction, $content ) { // Info $postIDs = array(); $currentPost = get_the_ID(); // Get posts based on category $postArray = get_posts( array( 'category' => $category, 'orderby'=>'post_date', 'order'=> 'DESC' ) ); // Get post IDs foreach ( $postArray as $thepost ): $postIDs[] = $thepost->ID; endforeach; // Get prev and next post ID $currentIndex = array_search( $currentPost, $postIDs ); $prevID = $postIDs[ $currentIndex - 1 ]; $nextID = $postIDs[ $currentIndex + 1 ]; // Return information if( $direction == 'next' AND $nextID ): return '<a rel="next" href="' . get_permalink( $nextID ) . '">' . $content . '</a>'; elseif( $direction == 'prev' AND $prevID ): return '<a rel="prev" href="' . get_permalink( $prevID ) . '">' . $content . '</a>'; else: return false; endif; }
—————-
And this as your prev/next links (function parameters are examples):
<?php echo adjacent_post_by_category( 10, 'prev', 'Show previous post' ); ?> <?php echo adjacent_post_by_category( 10, 'next', 'Show next post' ); ?>
—————-
Regards
Louis
https://wemanageyoursite.com/Forum: Fixing WordPress
In reply to: Help me with the_excerpt()Hi,
Try this one maybe? You did not add the third parameter to the filter (priority):
function custom_excerpt_length( $length ) {
return 100;
}
add_filter( ‘excerpt_length’, ‘custom_excerpt_length’, 999 );Regards
Louis
https://wemanageyoursite.com/- This reply was modified 7 years, 4 months ago by Louis Wolmarans.
Forum: Fixing WordPress
In reply to: Categories not showing on blogHi Martin,
It should work if you just add another category ID after a comma like this for example:
‘-255, -34’
Hope this helps?
Regards
Louis
https://wemanageyoursite.com/- This reply was modified 7 years, 4 months ago by Louis Wolmarans.
Forum: Plugins
In reply to: [HUSKY - Products Filter Professional for WooCommerce] Attribute limitNow no matter what filter you choose, it just displays all the results?
Click here: https://www.cartridgetest.co.za/shop/?swoof=1&pa_manufacturer=hewlett-packard
OR here https://www.cartridgetest.co.za/shop/?swoof=1&pa_model=deskjet-1180-cNow it displays all the results, instead of just the filter…
The filter worked before hand. Now it’s being ignored..
Forum: Plugins
In reply to: [HUSKY - Products Filter Professional for WooCommerce] Attribute limitHi,
Thanks for the reply. Looks like the issue was on the server.
- This reply was modified 8 years, 4 months ago by Louis Wolmarans.
Forum: Plugins
In reply to: [HUSKY - Products Filter Professional for WooCommerce] Attribute limitIn the meantime, just to try something, I have added this to my .htaccess file:
<IfModule mod_php5.c>
php_value max_input_vars 30000
</IfModule>
But still no luck. Anxioulsy awaiting your reply.
Thanks