Escape special characters in image link

Because based on your description, I am not sure what is your purpose doing the escape. If you want to escape the URL, you might consider using WordPress internal esc_url() function If you want to do some more low level control with PHP native function, you may consider urlencode() and you might have to manually … Read more

add_filter the_content in functions.php not working

This part of the single post template is called the loop: <?php if (have_posts()) : while (have_posts()) : the_post(); ?> Within the loop you need to call in the content: <?php the_content(); ?> Replace your single post template with this and see if it works now: <?php get_header(); ?> <div id=”content” class=”clearfix row”> <div id=”main” … Read more

Could not create directory

You are using Ubuntu package for WordPress right? Had you tried conventional install (just downloading official WP archive and setting it up with LAMP)? While it’s not very “Linux way” maybe, it’s commonly suggested to stick with that for WordPress. I briefly dealt with Ubuntu WP package in the past and ended up doing just … Read more

Review plugin with rating of post [closed]

While there are a lot of plugins that adds rating type of stars, I would suggest that you code your own. Mainly because most of these are very feature rich with things you will not need. This is a relatively simple process: Add a custom user metadata using update_user_meta(), name it posts_voted. Add a custom … Read more