Tag Info

New answers tagged

1

This is a javascript issue in your theme. You're blocking clicks on elements with the classname .class which contains those links in the file express/includes/scripts/scripts.js: $('.class').click(function(e) { e.preventDefault(); });


0

This is a filter in WordPress called wpautop it is there to make formatting cleaner when publising posts, however when you want more control over formatting it can be a pain. It basically wraps returns in paragraphs so that the space you see in the editor is obeyed on the front end. You can disable it completely by placing this in your functions.php ...


0

As I understand your Question, you need to hook into most of the Link Filters (which are listed here: http://codex.wordpress.org/Plugin_API/Filter_Reference#Link_Filters ) and then add the query to them if the queryvar "clean" is set. Happy Coding, Kuchenundkakao


0

I think you can make this much easier than you are. Just create a my-projects page and forget about the custom rewrite. Why? Because a user will only need to see their own projects. No need for a just rewrite because you can get the current user any time. Embed the project rendering into a shortcode and just pop it into whatever page you want. ...


0

These links are generated by alx_social_links() function. So in your functions.php file, search for alx_social_links() function and this link specifically. echo '<li><a rel="nofollow" class="social-tooltip" '.$title.' '.$link.' '.$target.'><i '.$icon.' '.$color.'></i></a></li>'; and remove rel="nofollow" from it. So ...


3

Filter kses_allowed_protocols (wp-includes/functions.php wp_allowed_protocols) to add your protocol: add_filter( 'kses_allowed_protocols', function( $protocols ) { $protocols[] = 'weixin'; return $protocols; }); The default values are 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', ...


1

I found the solution to my problem: wp_delete_post(url_to_postid("url"));



Top 50 recent answers are included