Many people is having issues with image uploading with WordPressMU. In this article I will tell you the solution. Solved: issue with wordpressMU image or media uploading.
Solved: issue with wordpressMU image or media uploading
Solved: issue with wordpressMU image or media uploading
Single wordpress and wordpressMu has different behaviour.. If you are using apache webserver then there is no issue but if you are using than there is issue with image mapping. specially with nginx web server.
You need to write the rewrite rule for image. Also you need to check about folder permission in your “blogs.dir” directory. change folder permission to 777.
For single wordpress there is uploads folder is present but for wordpressMu there is no uploads folder present in directory. You should look for blogs.dir folder which is present in wordpressMu/wp-content folder.
For solve the issue add the following lines in your apache configuration(httpd.conf) file. If this file is not present then add following lines in your .htaccess file.
There are many free wordpress are offering the same functionality. In this post we show you, Add social Bookmark Icons in WordPress theme without plugin.
Many people want to add social icons or buttons to there wordpress websites. There are many free wordpress are offering the same functionality. I recommend not to use these plugins because this plugins will add extra javascript and CSS to your website and that will take some bandwidth of your website.
In this tutorial I will show how to Add social Bookmark Icons in WordPress theme without plugins. This we can achieve very easily.
Add social Bookmark Icons in WordPress theme
Just follow my steps:
1. Open single.php file from your wordpress theme.
just do one think, please assign class=”social_icons” to div.
</a></li> <li><arel="nofollow"target="_blank"href="mailto:?subject=<?php echo urlencode(the_title('','', false)) ?>&body=<?phpthe_permalink() ?>" title="E-mail this story to a friend!">
21
<imgsrc="http://images.purabtech.in/email_32.png"title="E-mail this story to a friend!"alt="E-mail this story to a friend!"/></a></li></ul></div>
2. open your theme style.css file and put following code
.social_icons{ clear:both; }.social_icons ul li {float:left; padding-right:8px;}
Many wp designers and developers searching for social bookmark wordpress plugin, social bookmark wordpress theme, social bookmark plugin wordpress, wordpress simple social bookmarks,
best social bookmarking, social sharing wordpress, social sharing wordpress plugin, best social sharing wp plugin solution
Hhere you found the perfect solution for social bookmark.
Here is list of articles which is most useful for adding functionality in wordpress without adding any wordpress plugins.
Best wordpress hacks by WordPressAPI.com
Many people want to know about post category and know more information current category. Some time we need to use the first category of wordpress post. As we know we can define the multiple category to single article. So if we want retrive the wordpress category then we will get the result in simple php array format. Using that array we can easily extract the first category of post.
if we want first category than, we will get result in php array format. Using that array we can easily get first category name or id from wordpress post.
How to get first category name or id from wordpress post
In this post I will show how we can achieve that. Using following code we can get the first category ID.
there are many wordpress theme deverlopers who are looking for wordpress hacks for theme developer. we have best collection of wordpress hacks for theme developer. Some best WordPress Hacks for theme developer.
wordpress hacks for theme developer
wordpress hacks for theme developer
WordPress themes market has grown incredibly. Due to lot of amazing new functionality an synchronization with all social sites.
1. Create TinyURLs with your wordpress site
Open your single.php file and paste the following in the loop:
In this tutorial we will show you How to exclude pages from wordpress menu without plugin. We given simple code for adding to your theme file which will remove pages from menu.
How to exclude pages from wordpress menu without plugin
Normally when we are creating wordpress theme for showing the pages we code as follows
You are able to see the I added the exclude parameter in wordpress method.
Your selected page id for excluding from menu, you need to just put there with comma separated.
Put this code in your header.php file for showing the menu. You are able to exclude the pages from wordpress menu
For reducing bounce rate Show related posts with wordpress post without plugin is really great solution. There are many wordpress plugins which will give similar functionality but it will add extra code server hits to your server. It causes slowness.
Show related posts with wordpress post
Just copy paste the following code in your functions.php file. You will find this file in your wordpress theme folder.
Show related posts with wordpress post
function get_related_posts($post_id) {
$tags = wp_get_post_tags($post_id);
if ($tags) {
echo 'Check some Related Posts<br>';
$first_tag = $tags[0]->term_id;
$args=array(
'tag__in' => array($first_tag),
'post__not_in' => array($post->ID),
'showposts'=>10,
'caller_get_posts'=>1
);
$my_query = new WP_Query($args);
if( $my_query->have_posts() ) {
while ($my_query->have_posts()) : $my_query->the_post();
$the_permalink = get_permalink();
$post_title = get_the_title();
$related_post = '<a href="'.$the_permalink.'">'.$post_title.'</a><br>';
echo $related_post;
endwhile;
}
}
}
You just need to use this function in your loop using “get_related_posts();” this function.
If you want to Change WordPress login logo using wordpress hack. Just copy paste following lines to your wordpress theme folder’s functions.php file for this. There is very small code snippet you need put in your wordpress theme.
Change WordPress login logo using wordpress hack
function change_login_logo() {
echo ‘<style type=”text/css”>
h1 a { background-image:url(‘.get_bloginfo(‘template_directory’).’/images/logo.png); }
</style>’;
}
WordPress, by default, comes uncompressed and sends the uncompressed HTML to the visitor’s browser. we given some Tricks for improving WordPress site performance.
Please use this tricks carefuly because First trick will cause issue to your wordpress site.
First Trick
Improve the wordpress Blog’s Loading Speed
Tricks for improving WordPress site performance
Create one file called “phpinfo.php” and then upload it to the root of your blog directory:
While doing the copy and paste from any website is always problem. While coping the code. curly quotes come and you want to convert that into straight quotes. Some time you want to remove curly quotes from WordPress post title or body.
How to remove curly quotes from WordPress post Title and body.
Here we have given following code which can be useful. The apostrophe should be straight not curly in WordPress.
Just Open your functions.php file from your theme folder. If you did not created functions.php file then you can paste this code in your header.php file.
In one of our project, we got the requirement of exclude images from wordpress post while showing post. We have written code for excluding the image from Post.
How to exclude images from wordpress post
you can use following code in functions.php file or you can use in single.php file. These files you can find in wordpress theme folder.
For changing the code you can use the wordpress admin -> editor section.