Why aren’t my Follow Me links working?

Ah, see it in Firefox (Opera seems to fix it on the fly). The %20 you are seeing is encoded space character. First thing to check would be to verify that there are no unwanted spaces in form you use to setup links. Also could you please add link to specific plugin you use? Quick … Read more

Switching Code plugins

It looks like it is using shortcodes (square brackets with text in them), so if you deactivate the plugin you would end up with just the shortcode in your posts, they would no longer be converted into the snippet. If you’re worried about whether you’ll lose your actual data that the plugin has saved, that … Read more

what code to add to search.php

If I understand correctly, you want to show more results on your search results page? this is defined by the posts per page setting in the admin panel, but can be modified in the search.php template by adding this before the loop: <?php $myquery = “&posts_per_page=50”; // set to number of results you want per … Read more

Allow tags between shortcode in comments

You want to allow folks to post code in their comments, like on here were we can just do <p>something</p> without having to worry about doing any &gt; or &lt; stuff? I think you’ll still want those special html characters converted to their respective entities, but you need to stay under the radar to avoid … Read more

post/page content

You need to apply the filter the_content e.g.: <?php echo apply_filters(‘the_content’,$home_page->post_content); ?> Also, you don’t need custom shortcodes for youtube, just put the URL in the content (but not a hyperlink), and it’ll be swapped out for a youtube player at runtime. No plugins or extra code needed thanks to oembed.

Insert PHP code in Text

A better, cleaner way to do this would be to use proper string return methods and concatenation. I say this, because you’re trying to put functions that echo content (i.e. the_title() into a variable – this won’t work!!! Instead: $text=”<form><td>Permalink to: “; $text .= get_the_title(); $text .='</td><textarea cols=”85″ rows=”2″ readonly=”readonly” onclick=”select()”/>’; $text .= get_permalink( $id … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)