How do i code exit popup plugin?

Before I give you any code, I want to be very clear that exit popups are frowned upon in pretty much every development community. They’re annoying to users, create a bad customer experience, and will tick off just about any developer who ever looks at your site. I can’t say this any more emphatically, but … Read more

Shortcode attribute “title” doesn’t appear in $atts array

It appears that you are not extracting your $atts correctly or at all for that matter. Use the correct procedure to get access to the passed attributes allong with setting up defaults as a fallback: extract( shortcode_atts( array( ‘shortcode’ => ‘default_value’, ‘title’ => ‘Default Title’, ), $atts ) ); There is infact an extensive guideline … Read more

Facebook share button help

You can try using this: <?php $title = get_the_title( $post_id ); $url = urlencode( get_permalink( $post_id ) ); ?> <a class=”fb” target=”_blank” href=”http://www.facebook.com/sharer.php?s=100&pFacebook share button help=<?php echo $title; ?>&p[url]=<?php echo $url; ?>”>Share</a>

How to hide a piece of code from a wordpress web page?

Without looking too closely, my best guess is that the footer text: ©2012 Америк дахь Монгол Оюутны Холбоо is being processed through the the_content filter… something like: echo apply_filters(‘the_content’, $some_text); Typically those social plugins add themselves automatically by hooking into the_content filter.

WordPress 3,5 and Jquery version

WordPress includes the minified version of jQuery as jquery.js rather than using jquery.min.js. I don’t see any uncompressed version of it anywhere in the latest release of 3.5 (I’m looking at 3.5.3 right now). They’ve made some other changes to how development and production assets are loaded. There are now several files that are *.dev.js … Read more