marcruiz
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Hide Diamond Menu from toolbarthis worked for me:)
function litespeed_remove_toolbar_menu() {
global $wp_admin_bar;
if ( !is_super_admin() ) {
$wp_admin_bar->remove_menu(‘litespeed-menu’);
}
}
add_action(‘wp_before_admin_bar_render’, ‘litespeed_remove_toolbar_menu’, 999);Forum: Plugins
In reply to: [LiteSpeed Cache] Hide Diamond Menu from toolbarI have resolved the issue using role management.
Thank youForum: Plugins
In reply to: [LiteSpeed Cache] Hide Diamond Menu from toolbarHi:)
I am not sure about your question.
Are you referring to purge All from the Diamond menu?
If that is the case, I did, but the Diamond menu is still there:(Forum: Plugins
In reply to: [LiteSpeed Cache] Hide Diamond Menu from toolbarThank you
I have inserted the mentioned code in the functions.php page, but the “Diamond and menu” under the Diamond are still showing on top of the toolbar 🙁Thank you for you kind reply. Appreciated.:)
Please find below the link to the XML file I have used in order to upload with WP ALL IMPORT plugin.
https://www.dropbox.com/s/jshtcfdd7c52zxf/44406_3766229_mp.xml.gz?dl=0
(If for some reason you cannot download the file, I would be very happy to email it you)
For the WP ALL IMPORT plugin, I used
– For the Title, the NAME of the product
– For the description, the PICTURE, and below it, I have used a LINK to show the product.
Using the suggested DISPLAY POSTS plugin, I have used the GRID format shortcode:[[display-posts image_size=”medium” wrapper=”div” wrapper_class=”display-posts-listing grid” meta_key=”_thumbnail_id”]]
Unfortunately, It did not display anything.
Then, I have used a simple shortcode:
[display-post category=”johnacademy”]
The category ‘johnacademy’ was created using the WP ALL IMPORT plugin’s option.
For some reasons, the shortcode [display-post category=”johnacademy”] only displays few Posts (10 max, links only, no images, but thousand Posts were created by the WP ALL IMPORT plugin)Thank you again for your kind advice, and sorry for this long message:(
Forum: Plugins
In reply to: [Clean Login] I have inserted captcha code in login formIs there a way to enable captcha in the login form?
Forum: Plugins
In reply to: [Clean Login] I have inserted captcha code in login formHi Javier
Sorry to confuse you
Briefly, the current login form only requires username and password.
I wonder if it is possible to copy the below code (please see PS), that has been taken from the registration from into the login one, and if yes where should it be pasted ?
Your advice is appreciated.
Best regards
Marcelo
PS.
<?php /*check if captcha is checked */ if ( get_option( ‘cl_gcaptcha’ ) == ‘on’) : ?>
<?php gcaptcha_script(); ?>
<div class=”cleanlogin-field”>
<div class=”g-recaptcha” data-sitekey=”<?php echo get_option( ‘cl_gcaptcha_sitekey’ ) ?>”></div>
</div>
<?php endif; ?>- This reply was modified 5 years, 10 months ago by marcruiz.
Forum: Plugins
In reply to: [Clean Login] I have inserted captcha code in login formFalse alarm:)
It is back to normalOverall and for the sake of understanding the code, is it possible to borrow the captcha code from the registration form and past it in the login form?
If yes, and in order to make it work, where we should paste it (row number in the login form) and what changes we should do, if any?Thank you for your advice
- This reply was modified 5 years, 10 months ago by marcruiz.