Vishakha Gupta
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can’t do Transparent header using JS & CSSHi @beefmannn5,
Currently, you are using elementor and using this you can easily manage the header background colour without adding custom CSS and js. You can check the video tutorial for this.
https://elementor.com/help/sticky-transparent-header/Thanks
Forum: Developing with WordPress
In reply to: Get JS not registeredHi @presse2009,
Replace code with the given one
function twentySven_register_scripts() { wp_enqueue_script( 'twentySven-js', get_template_directory_uri() . '/assets/js/script.js', array('jquery'), '1.0.0', true); } add_action( 'wp_enqueue_scripts', 'twentySven_register_scripts' );
and if you are using child theme the use ‘get_stylesheet_directory_uri()’ instead of ‘get_template_directory_uri()’.
Thanks
Forum: Developing with WordPress
In reply to: Get JS not registeredForum: Fixing WordPress
In reply to: Can’t do Transparent header using JS & CSSHi @beefmannn5,
Could you please share your site URL, so I can help you to get the desired solution?
Thanks
Forum: Fixing WordPress
In reply to: How to resize image in sticky header while scrolling?Hello @michalrama,
You need to put the javascript code in header or footer.
<script> window.onscroll = function() {scrollFunction()}; function scrollFunction() { if (document.body.scrollTop > 50 || document.documentElement.scrollTop > 50) { document.querySelector("#masthead .custom-logo").style.height = "100px"; document.querySelector("#masthead .custom-logo").style.width = "250px"; } else { document.querySelector("#masthead .custom-logo").style.height = "auto"; document.querySelector("#masthead .custom-logo").style.width = "auto"; } } </script>
Thanks
Forum: Fixing WordPress
In reply to: Switching Next/Previous ButtonYou need to change the text of the next and previous button text where the previous and next post link function has been called.
https://developer.www.ads-software.com/reference/functions/previous_posts_link/Thanks
Forum: Fixing WordPress
In reply to: Site throwing a bunch of jQuery errors. Help?Please update all plugins and theme.
Forum: Fixing WordPress
In reply to: exporting media libary from “wp.com” siteForum: Fixing WordPress
In reply to: Accordion not expanding elementorNo, all plugins are not updated, you are still using the old version, check all elementor plugins.
Forum: Fixing WordPress
In reply to: Accordion not expanding elementorForum: Fixing WordPress
In reply to: Site throwing a bunch of jQuery errors. Help?Hi @victorb70,
Please change the jQuery version in jQuery migrate settings.
check this: https://prnt.sc/12ewiy7Thanks!!
Forum: Fixing WordPress
In reply to: Advice to improve the speed of my in-house websiteHi @rayszhaes,
There are many caching Plugin in the market that will help you to increase your site speed, if you are getting issues after minifying css/js, you need to debug and exclude those css/js from minification, cache plugins provide multiple options to improve your page speed.
Thanks
Hi @rustyaventador,
I’ve checked this plugin & it is working fine. May be your theme or other plugin created conflict with this. Please check with the default theme and Nouveau template once.
Screencast: https://screencast-o-matic.com/watch/cq6qIrug4f
Forum: Plugins
In reply to: [Wbcom Designs BuddyPress Todo List] It doesn’t workHi @tehealing,
I’ve checked plugin, it is working fine. This plugin adds to-do feature for BuddyPress members, so it requires BuddyPress plugin. Please refer screenshot.
Backend: https://prnt.sc/ozxjdd
Frontend: https://prnt.sc/ozxkyaForum: Plugins
In reply to: [Wbcom Designs - BuddyPress Activity Social Share] Add support for whatsappHello @teeboy4real,
Paste these lines of code in your child theme’s functions.phpadd_action( 'bp_share_user_services', 'wb_add_watsap_share', 10, 3 ); function wb_add_watsap_share( $services, $activity_link, $activity_title ) { echo '<a target="blank" class="bp-share bps-mobile-display" href="https://api.whatsapp.com/send?text='. $activity_link . '&image_sharer=1" data-action="share/whatsapp/share" rel="whatsapp"><span class="fa-stack fa-lg"><i class="fa fa-whatsapp"></i></span></a>'; echo '<a target="blank" class="bp-share bps-desktop-display" href="https://web.whatsapp.com/send?text='. $activity_link . '&image_sharer=1" data-action="share/whatsapp/share" rel="whatsapp"><span class="fa-stack fa-lg"><i class="fa fa-whatsapp"></i></span></a>'; }
And these lines in your css file.
.bps-desktop-display {
display: inline-block;
}
.bps-mobile-display {
display: none;
}
.fa-whatsapp {
color: #5cbc2e;
}
@media( max-width: 767px ) {
.bps-mobile-display {
display: inline-block!important;
}
.bps-desktop-display {
display: none!important;
}
}- This reply was modified 5 years, 8 months ago by Vishakha Gupta.