bbPress plugins customization
Remove breadcrumb
function bm_bbp_no_breadcrumb ( $param ){
return true;
}
add_filter ('bbp_no_breadcrumb', 'bm_bbp_no_breadcrumb');
Visit my demo page HTML CODE: <div id="prev-next" class="clearfix"> <a class="page-numbers" href="http://example.com/category/blog/">1</a> <a class="page-numbers" href="http://example.com/category/blog/page/2/">2</a> <a class="page-numbers" href="http://example.com/category/blog/page/3/">3</a> <a class="page-numbers" href="http://example.com/category/blog/page/10/">4</a> <a class="page-numbers" href="http://example.com/category/blog/page/10/">5</a> </div> SCRIPT $('a.page-numbers').live( 'click', function(e){ e.preventDefault(); $( '#loading' ).show(); var link = $( this ).attr( 'href' ); $( '#loop' ).animate({ opacity:0.1 }, 200, function(){ $( this ).load( link + ' #loop',…
var iframe_url = 'http://www.wala.com/'; var cacheParamValue = (new Date()).getTime() * 1000; var url = iframe_url + "?cache=" + cacheParamValue; jQuery( 'iframe' ).attr( 'src', url ); Output: <iframe width="100%" height="99%" src="http://www.wala.com/?cache=1406685294271000"></iframe>
How Convert string with unwanted character to slug, proper name, etc.? Try this code using http://phptester.net/. // Example 1 function cleantitle($string){ $string = str_replace(' ', '-', $string); $string = preg_replace('/[^A-Za-z0-9\-]/', '-', $string); return preg_replace('/-+/', ' ', $string); } $str_1 = 'Menstruation_Sisters_-_14'; echo cleantitle($str_1); // output will be "Menstruation Sisters 14" // Example 2 function cleantitleslug($string){…
Using this tool https://developers.facebook.com/tools/debug/sharing/, it shows the wrong SEO details details when you about to share this article. Facebook found your “” is not the same on the current post. This maybe because of SEO conflict on your Jetpack and other SEO plugins. To fix the issue, just add this line in your functions.php and…
Copy this code and paste to your functions.php function wpa54064_inspect_scripts() { global $wp_scripts; print_r($wp_scripts); // this will show all enqueue’s script } add_action( ‘wp_head’, ‘wpa54064_inspect_scripts’ );
How to solve Jquery on click inside or outside the div element ? Just copy the codes below to your script. $( document ).click( function( e ){ var mde = $( '.my-div-element' ); if( ! mde.is( e.target ) && mde.has( e.target ).length === 0 && mde.length ){ // I'm clicking outside of my div element…
It’s going to be end of mine day, however before end I am reading this enormous post to improve my knowledge.
I think the admin of this website is in fact working hard for
his website, for the reason that here every material is
quality based data.
Hey, thanks for sharing so much helpful information with us.
I believe I will reread this post a couple times. Great information!
I just want to say I am just new to blogging and site-building and certainly loved your web-site. More than likely I’m planning to bookmark your site . You definitely come with great articles. Thank you for sharing your web-site.
I just want to mention I am newbie to weblog and certainly enjoyed you’re blog site. Most likely I’m planning to bookmark your blog . You actually come with outstanding articles and reviews. Kudos for sharing with us your webpage.