Wp Developers are always looking for remove the category or blog slug from wordpress URL. We can very easily remove the blog word from wordpress blog URL. Many clients want to remove the category word from URL. There are some nice wordpress plugins which will help you to remove the category word from wordpress URL.
I am using wordpress for long time. When wordpress 3.0 launched with multisite functionality we started using wordpress 3.0. Removing blog and category slug is very important for many clients.
Earlier also I written following article. But unfortunatly following code is not working now in newer release of wordpress.
As the name suggests this plugin will completely remove the mandatory ‘Category Base’ from your category permalinks ( e.g. myblog.com/category/my-category/ to myblog.com/my-category/ ).
The plugin requires no setup or modifying core wordpress files and will not break any links. It will also take care of redirecting your old category links to the new ones.
Manual method
Just add following code into your .htaccess file which you find in wordpress root folder. RewriteRule ^category/(.+)$ http://www.site.com/$1 [R=301,L]
My suggestion:
Do not use any plugin or code for removing the category slug. If your client forces you to remove the category word then use wordpress permalink setting section. You can change the category slug from there. Following Note is given by wordpress.
Remove category slug wordpress
“If you like, you may enter custom structures for your category and tag URLs here. For example, using topics as your category base would make your category links like http://example.org/topics/uncategorized/. If you leave these blank the defaults will be used.”
You can keep any slug name instead of category word.
WordPress is always very target for hackers. Hackers always use the proxy servers to access the wordpress websites. Hackers attack the wordpress sites using the proxy IP addresses and servers. Here Using small trick you can prevent the proxy server attack. This is very easy trick which can be used in every wordpress project.
block proxy servers to access wordpress
All proxy visits are not bad requests so First check the site access logs. If you are thinking Your site attacked by Hackers and proxy servers then only use the following code.
You just need to add following code into your .htaccess file. You can open your .htaccess apache configuration file from wordpress root folder.
After adding above code you must check your wordpress site. Check the your every pages of your site. Check your sites pages on atleast on three PCs so you will sure about your site and above code.
Open your header.php file which you find in your wordpress theme folder.
Put above code in header.php file and check your site is working fine. There are so many articles written on same topic so you can check those also before making any changes.
WordPress is highly used CMS in the world. When you want to create the website then you need to hosting. Many people are searching for wordpress hosting. Which is the most used and comfortable wordpress hosting providers. Here I created the Most popular hosting theme or wordpress hosting providers.
There are some hosting providers are really leader in hosting. They are having many many sites hosted to them and they have millions of satisfied customer. There are too many hosting service providers in the world. It is very hard too choose the correct hosting provider for wordpress.
HostGator is a leading provider of web hosting, reseller hosting, vps hosting, and dedicated servers. Over 8,000,000 websites trust HostGator for their web hosting needs.
The simplicity of WordPress meets the power of GoDaddy.
While WordPress makes it easy to create an amazing blog or website, our world-class Web hosting makes it just as easy to get the most out of your site. WordPress Hosting from GoDaddy keeps your site running smoothly, even when your latest post goes viral, by automatically spreading traffic spikes across multiple servers. Plus, our advanced performance and security means your site is lightning-fast and your visitors are safe.
Highly Customizable
Although best known as a blogging tool, WordPress is also a fully functional CMS and can even be used in e-commerce sites.Easy To Use
With great default designs and a library of professional themes, it’s easy to get a beautiful website off the ground in no-time.
Don’t know much about code? No worries. WordPress outputs standards friendly code for optimal performance and SEO.
Because of it’s power and versatility, WordPress has a loyal community of developers and designers to help and inspire you.
Laughing Squid offers reliable, scalable and secure cloud hosting services using Rackspace’s state-of-the-art Cloud Sites hosting platform. Our hosting plans include control panel access, full-featured email services (POP, IMAP & webmail), PHP 5.3, MySQL 5.1 and many other great features.
If you are looking to setup a blog running WordPress you’ve come to the right place. We are one of the web hosting companies officially recommended by WordPress for hosting WordPress blogs.
IntoVPS provides reliable unmanaged VPS hosting at decent prices. VPS hosting packages are available in US and Europe. VPS hosting service with super-fast response. VPS hosting on premium hardware and network in London – UK, Amsterdam – Netherlands, Bucharest – Romania, Dallas – Texas, Fremont – California.
My Review
I personally used some of above hosting services for some time. I did not faced any with issue with above hosting providers. There support is nice and instant. WordPress installation and up-gradation is very easy with above hosting providers.
Earlier also I written about wordpress cheap hosting which is helpful to you.
wordpress widget and sidebar is different things. Here in this article we will show you how to add custom widget in wordpress theme using your theme code.
Some years ago I searched for creating the widget in wordpress theme But I did not get the perfect answer. Every time I got code snippet of sidebar. Many WP developers are assuming widget means sidebar. wordpress widget and sidebar is totally different things. Here in this article I will show you how to create the wordpress widget using your theme code.
how to add custom widget in wordpress theme
You can put following code into functions.php file or you can create sperate file and just include that into functions.php file.
class RecentPostWidget extends WP_Widget
{
function RecentPostWidget()
{
$widget_ops = array('classname' => 'RecentPostWidget', 'description' => 'Displays a Recent post with thumbnail' );
$this->WP_Widget('RecentPostWidget', 'Recent Post and Thumbnail', $widget_ops);
}
function form($instance)
{
$instance = wp_parse_args( (array) $instance, array( 'title' => '' ) );
$title = $instance['title'];
?>
<?php echo $this->get_field_id('title'); ?>">Title: <input id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo attribute_escape($title); ?>" />
<?php
}
function update($new_instance, $old_instance)
{
$instance = $old_instance;
$instance['title'] = $new_instance['title'];
return $instance;
}
function widget($args, $instance)
{
extract($args, EXTR_SKIP);
echo $before_widget;
$title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']);
if (!empty($title))
echo $before_title . $title . $after_title;;
// WIDGET CODE GOES HERE
echo "<h1>This is my new widget!</h1>";
echo $after_widget;
}
}
add_action( 'widgets_init', create_function('', 'return register_widget("RecentPostWidget");') ); ?>
Following is screen-shot of sample widget code which I used in functions.php file.
Contact form is necessary for every website and wordpress most popular CMS in the world. There are some very nice free wordpress plugins which are helpful to create the contact form. Here in this article I will exploring the experience with “Fast Secure Contact Form” wordpress plugin. I written detailed review about fast secure contact form wordpress plugin.
we given Fast Secure Contact Form wordpress plugin review which is helpful.
Fast Secure Contact Form wordpress plugin review
First information about “Fast Secure Contact Form” plugin
An easy and powerful form builder that lets your visitors send you email. Blocks all automated spammers. No templates to mess with.
Features:
Easily create and add forms to WordPress. Fields are easy to add, remove, and re-order. The contact form will let the user send emails to a site’s admin, and also send a meeting request to talk over phone or video.
Features: easy form edit, multiple forms, confirmation emails, no templates to mess with, and an option to redirect visitors to any URL after the message is sent. Includes CAPTCHA and Akismet support to block spammers. Spam is no longer a problem. You can add extra fields of any type: text, textarea, checkbox, checkbox-multiple, radio, select, select-multiple, attachment, date, time, hidden, password, and fieldset.
Nice features which I like:
Online Scheduling, Appointment Booking and Free Invoicing via vCita:
Add an online scheduling button to your form, or at the bottom of every page
Display your up-to-date availability on your website, based on your existing calendar (Google, Outlook, etc)
Invite leads and clients to schedule a phone call, book an appointment or request a service
Automated confirmations and reminders will be sent to your clients, including meeting details (time, location or phone number)
Scheduled appointments will be added to your calendar
Built-in phone conference service, and easy integration with Skype, Google Hangout, and other online meetings.
Collect payments online before the appointment or invoice and bill your clients for your time and services
Learn more about vCita Online Scheduling Software
Security:
Akismet spam protection support.
Spam checks: prevents spammer forcing to:, cc:, bcc:, newlines, and other email injection attempts to spam the world.
Makes sure the contact form was posted from your blog domain name only.
Secure input validation.
Email message footer shows blog username(if logged on), Date/Time timestamp, IP address, and user agent (browser version) of user who contacted you.
CAPTCHA Image Support:
Uses Open-source free PHP CAPTCHA library by http://www.phpcaptcha.org (customized version included)
Abstract backgrounds with multi colored, angled, distorted, text
Arched lines through text
Refresh button to reload CAPTCHA
CAPTCHA can be disabled on the ‘Security’ tab.
Review:
Very Easy to install and usages
It gives you the standard email template
Forms are easy to add, remove, label, and edit and preview.
You can rearrange the fields order
Supports HTML email template
Cons:
I have had very issues with older PHP version
Not easy to customize the functionality
No API’s provided like contact 7 plugin
Scheduling is not working as they said
Backward compability is not maintained in this plugin
wordpress has inbuilt search, still people want to add the advanced search in their site. we will show, how to add google search to wordpress manually.
how to add google search to wordpress manually
There are too many sites build on wordpress. wordpress gives inbuild search option in cms. But still people want to add the advanced search in there site. I suggest you can add the google search in wordpress site. Adding google search in wordpress site is really SEO friendly also. It is very easy to add the google search system in wordpress sites.
In some very simple steps you can add the google search in wordpress sites.
First login to google and go to following URL:
https://www.google.com/cse/
how to add google search to wordpress manually
Just add the your site and and get your site custom google search for your site.
Before this you need to create the wordpress page for showing the search result page.
I created page called “search result”. For getting JS code you need give search result page path in google settings.
You will get options for selecting search result layout. Here you will get two javascripts code for google search form and search result.
After getting the two javscript code. You need to add the form code into wordpress widget.
On search result page just add the second code and save it. That sit. Your custom site google search is ready.
You can Customize Google Custom Search Engine Colors and Looks as your site color and theme.
wordpress gogogle search -CSE – Look and Feel
Sample Form Code: (you can use following code in wordpress widget)
cse-search-results">
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 550;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
// ]]></script>
Google Search Trick in wordpress. There is width issue in search result page. Google search result render with 768px width.
You need to just add following CSS code in your wordpress theme style.css file.
#cse-search-results iframe {width: 200px; }
custom google site search you can add in any wordpress site without any wordpress plugin.
There are too many insurance companies and they have there different marketing and planning. Many insurance companies created there sites in wordpress. Insurance companies need the content and media and videos in there site. It is very easily manageable in wordpress. Many Insurance companies are looking for paid or free wordpress solution. Here I collected some nice wordpress themes which are really useful for insurance industry. Nice wordpress insurance themes which are really useful for insurance industry.
Best 10 wordpress insurance themes here is the list:
This responsive theme is designed for businesses and makes good use of white space. It is cleanly laid out, has a prominent navigational bar and sidebars to easily display important information and access contact details.
MetCreative’s Cacoon WordPress theme is HTML5, CSS3 and Responsive.Cacoon’s layout is also liquid, this means it can fit any other screen like low resolutions 800×600 or 1024×768. Cacoon responds to tablets and phones.
Page creation with Cacoon is so easy, you just drag and drop built in elements where ever you want and fill it’s details as you wish.
Avamys is flexible and retina ready WordPress theme. Thanks to responsive design it looks good on tablets and mobile phones. By default you can choose light or dark style and one of 9 prepared color schemes, but thanks to colorpickers you can set up your own colors to the theme. With one click you can change layout style from wide to boxed version and with couple more you can set up your own background. If you want to give page or post it’s own character you can start with title background option. Thanks to this option you can set background color, font color, or choose background image for your page or post title. Theme is very easy to use, set up and customize. In case of any problems you can always ask your questions at premium support forum with search option.
WordPress theme for Consultants and Professionals. With eConsultant you have the best tool to Communicate Your Strategic Vision and Inspire People to work with you.
OurBusiness is a clean and flexible wordpress business theme. Best suited for Business and Portfolio sites. Fully customizable with our options page framework FlexiPanel. The homepage can be easily configured to widgetized/business or blogging/latest posts mode. You can easily highlight some of your products or services with newly added “Flexi Info Box” widget.
Bradley is an insurance WordPress theme designed for an individual agent or small insurance agency. This Genesis child theme has five color options, lots of features, and it is SEO friendly. Bradley comes with multiple sidebars, widgetized home page, flexible rotator, call to action boxes, and author boxes for single or multiple bloggers. This responsive WordPress theme is mobile friendly and will automatically adapt to optimize the user experience on mobile devices.
Many people created the news site with wordpress platform. I will help to create the news site using worpdress platform. With wordpress you can handle too much traffic. There are too many examples of news portals which created with wordpress. Mashable.com is one example of news portal. But recently they changed there platform from wordpress but for many years they used wordpress platform.
Many people created the news site with wordpress platform. we will show, how to create news website using wordpress for free. free wordpress themes for news.
how to create news website using wordpress for free
There are so many free wordpress themes which are great for news sties. You can easily create the news site using wordpress.
For creating the news site with wordpress, I recommend to use the some wordpress plugins.
Your readers want your updates as quickly as possible, and we think we provide the easiest and the most flexible publishing environment to make that happen. Sometimes though, that’s just not enough.
When you’re covering a fast-paced event — the latest Apple unveiling, an F1 Grand Prix, or the Super Bowl — a full blog post for each individual update is a poor experience for your authors and your audience.
Features:
Post updates right from the front-end of your site (no need to use the /wp-admin dashboard)
Viewers of your Liveblog get new entries served to them instantly and automatically, without needing to refresh their browser.
Your authors can drag-and-drop photos right into the Liveblog area, without needing to navigate to separate browser tabs or windows.
There’s no need for a separate site dedicated to liveblogging: every post can be a liveblog, even existing ones.
how to create news website using wordpress for free
Assign multiple bylines to posts, pages, and custom post types via a search-as-you-type input box. Co-authored posts appear on a co-author’s archive page and in their feed. Co-authors may edit the posts they are associated with, and co-authors who are contributors may only edit posts if they have not been published (as is core behavior).
Add writers as bylines without creating WordPress user accounts. Simply create a guest author profile for the writer and assign the byline as you normally would.
On the frontend, use the Co-Authors Plus template tags to list co-authors anywhere you’d normally list the author.
PHP has the plethora of frameworks which are painless to use by a developer. A developer can also freak out on while developing a website with various attractive features. Betwixt all the frameworks, WordPress is the most prominent one because of its outstanding features.
Migration of Themes and Plugins
When a new major version of WordPress released, namely, WordPress 2.1 or 2.2, you might have discovered that Themes or Plugins are no longer working in a way they used to do it earlier. The primary reason could be that they are entirely broken because there was something in WordPress that was subjected to get changed. At the same time, another possible reason might be that was very fundamental and got changed, although you can feel relished working with WordPress Development just by updati An outline of WordPress 2.7:ng a few settings.
An outline of WordPress 2.7:
Migration of Themes and Plugins
WordPress 2.7 evolved with many revolutionary visages for getting an amazing website especially for bloggers. There are a few key features that are included in WordPress 2.7 such as Pages, plugins, Images and there are a few more. You can enjoy working on this by restraining blog part of the website with this version. You can flawlessly create static pages which are not the part of bookmark links, ongoing blog and others.
What is state-of-the-art about “Pages”?
Pages may look quite similar to the posts at first glance. However, they are actually not akin. Pages do not have timestamp, tags or categories. On the other hand, posts belong to the blogs that are meant to be the segment of enduring section of the website.
Adding a page
Add New Page
Just visit WP admin and navigate to different pages in order to add a new page. You will find drop-down menu in the grey menu fixed at the top and by clicking on the arrow; you can easily add a new page. Adding page can appear quite similar to the earlier process. But, there will be a new section that you will find, that is, Attributes.
Something about “Themes”:
Improved Comment Display – Threading, Paging and much more:
Pagination
Comments emerged in WordPress 2.7 with various new features, including nesting, threading, paging and many more. They are built-in because of the fact that you theme will support it. Thus, you can enjoy various advantages of these new features to get the amazing websites.
Logout option:
In the version, WordPress 2.7, Template Tag wp_log_out_url was added. This was providing a nonce URL for logout process. If a theme is using a construct such as /wp-login.php?action=logout to provide a logout link to the user. Consequently, that code has to be updated with the use of wp_logout_url.
You may also experience a message – You are attempting to log out of example.com. Please try again, if the theme is not using wp_logout_url for the URL of logout.
Sticky posts excluded from custom queries:
You can easily designate a post as sticky under the WordPress 2.7 version. If you will follow to use a query posts loop, then those sticky posts will get back directly to the custom queries. In order to avoid the sticky notes from getting involved, you can simply add caller_get_posts=1 to the complete query string.
Post Classes:
WordPress 2.7 introduced a new function for post classes, which will allow the user to do the styling in a simple style. The function can be written as post_class( ).If you are willing to use the function, then simply add it to Loop in such a way that it can make complete sense. Most themes usually encapsulate each post within a DIV section.
For a few special cases, if you want to add you own classes, post_class will support it too. This can be done as shown below:
<?php post_class(‘special’); ?>
If you have to display the post outside the Loop or in any alternative Loop, the second parameter to this function can be the post Id. You can use the following format:
<?php post_class(‘ ’, $post_id); ?>
Flexibility to display the sticky post class:
The very basic thing that you have to do is to find:
Always tie a knot of the point that it is not mandatory if you make use of the post_class( ) function, as discussed above. However, use of post_class( ) is preferred, but if you are doing it manually, then it will allow you to get the sticky status of the complete post.
A trivial change in Plugins:
You can also find some changes in Plugins too and some of the updated features are listed as follows:
Uninstall feature in Plugin API
Administrative Hooks introduced and removed
Admin Header
Settings API include
Admin header
Plugins list page
Plugins have to be registered
Thus, all these advanced features within the WordPress 2.7 have allowed the developers to work on web development and web customization with an ease. These advanced features will also help the website to inherit many innovative and creative features which can be user-friendly.
All wp developers and wordpress theme developers know about twenty thirteen wordpress theme. I do not need to talk about this more. Many people discussed about it issues and features. Many people are developed child themes based on twenty thirteen wp theme.
Some people asked me, how to add second sidebar in twenty thirteen wordpress theme. We can very easily add the second sidebar to it’s child theme.
add second sidebar in twenty thirteen wordpress theme
Using following simple code you can add the second sidebar to twenty thirteen wordpress child theme. If you are creating the child theme of twenty thirteen then you just need to add the following code into your functions.php file and that sit.
[viral-lock message=”Solution code is Hidden! It’s Visible for Users who Liked/Shared This article on Facebook or Twitter or Google+. Like or Tweet this article to reveal the content.”]
Above code will add the second sidebar to your child theme. using following code you can add the second sidebar to your child theme.
<?php dynamic_sidebar( 'sidebar-3' ); ?>
you just need to place above code into your single.php and index.php file or you can add above code where you need to show the second sidebar in your child theme.
Based on child theme code you need to do some CSS changes so your second sidebar will look perfect. I suggest to use the any grid system wordpress framework or you can use bootstrap CSS grid system for fuild HTML framework.
How to add second sidebar in twenty thirteen wordpress theme