WordPress Websites with Best Syntax Highlighter Plugin

You can come across several Syntax highlighter plugins on the web, but you have to make sure you have a good knowledge about the plugins and obtain the best as well as the appropriate plugin for your blog. These are the most commonly use used syntax highlighter plugins, by most famous bloggers.

WordPress Websites with Best Syntax Highlighter Plugin

You can come across several Best Syntax Highlighter Plugin on the web, These are the most commonly use used syntax highlighter plugins, by most blogger/

Crayon Syntax Highlighter Plugin

The Crayon Syntax Highlighter is one of the major syntax highlighter plugin built by combining the PHP and jQuery. This plugin stands out as it supports several languages, themes and fonts. It also can highlight from the URL, the WordPress text from a post or a local file.

FV Code Highlighter Plugin

The FV Code Highlighter is the best plugin to keep all the excess codes in blog managed and make it readable to the audience. PHP, HTML, XML, JavaScript and CSS can be highlighted using this plugin. As the colour schemes used to highlight the codes are similar as the Adobe’s Dreamweaver, it is easy for the audience to identify the type of codes you have used in your blog.

Syntax Highlighter Evolved Plugin

You can easily post syntax-highlighted code to your blog site or website, without any requirement for manual change or losing the formatting of the code, with the use of the Syntax Highlighter Evolved. This plugin also uses the Syntax Highlighter JavaScript Package created by Alex Gorbatchev, to support the functions.

Code Colourer Plugin

Adding the code snippets to your blog post along with proper syntax highlighting will be a simpler process with the use of the Code Colourer. This plugin also supports the comments, RSS codes, along with the colour based and defined themes. The Code Colourer plugin also can be used for any WordPress blog as it also supports several languages.

Code Markup Plugin

With the Code Markup, you can add your code to your blog post, so that it is available for the use of other bloggers or visitors. This plugin is the best choice for the HTML codes, as you can easily identify the characters that are to be shown as the code in your blog post. This is also a well known syntax highlighter plugin commonly used for the WordPress blog, which makes the process simple and easy.

Developer Formatter Plugin

This is one of the best plugins to make your blog display the codes effectively. As this plugin also uses the GeSHi highlight system, you can obtain the support of several coding languages, including the ASP, PHP, HTML, CSS, Java, Java Script, Python, C++, C, Visual Basic, Delphi and many other languages. If you are a dynamic code spreader, this plugin can be the best choice for your WordPress blog, to highlight syntax.

WP Syntax Plugin

You can have a clean highlighting of the syntax experience using the WP Syntax along with the GeSHi, as it supports various languages. This allows you to maintain the formatting of your website and highlighting even without the line numbers.

The Fall of Banner Ads & Rise of New WordPress Plugin

The Decline of Banner Ads

Due to the low click-through rates (CTR) for banner ads, advertisers no longer consider these types of ads as a significant method of marketing. In about 1,000 webpages that a banner ad would appear on, around 2 to 5 people would take time on clicking the ad and only 1 person out of these respondents would have an interest to know more about the product in the advertisement. Given the low response level, return on investment through banner advertising is proven to be too low to justify the cost.

Given the low response level, return on investment through banner advertising is proven to be too low to justify the cost. Rise of New WordPress Plugin.

The Fall of Banner Ads & Rise of New WordPress Plugin

According to the report of MediaMind, the loss of effectiveness of banner ads is, ironically, successful online advertising. As the budget becomes bigger and bigger for advertisements, users had been exposed to more and more click-on ads. However, the number of advertisements that a typical user would click on is much less than the amount of ads that a user had been exposed, thus, reducing the total CTR.

In effect, users have become familiar seeing ads on webpages they browse and read so they have a tendency to focus only on the related content they are interested about or searching for. Even if their peripheral vision can see the ads, users just tend to ignore them. This phenomenon is called ‘banner blindness’.

How Users Suffer From Banner Blindness?

One of the reasons why CTR is extremely low is that most users have no interest to the product being advertised or on the website itself. Thus, there’s no reason clicking the banner ad. Some users consciously pay no attention to them because they have discovered that banner ads usually fail to deliver what they have promised. Another common reason is that a lot of users do not see these banners on webpages.

It was Benway and Lane who reported several studies of usability in which they coined the phrase “banner blindness.” The task of their subjects was to locate certain information on a webpage that could be discovered faster by clicking the banner ad. Based on the outcome of their studies, the great majority of subjects did not consider using banners to retrieve the information they needed. As a result, the users had to exert more effort looking for information when it was readily available via a banner. The conclusion of the studies is that users are highly probable to ignore information that is on banners.

In 2013, Infolinks, a worldwide leader in monetizing advertisements in digital media for brands, publishers and their agencies, has revealed the results of their first exclusive study that aimed to examine the challenge of the phenomenal banner blindness.

Based on the results, it showed that only 14% of respondents had a recollection of the last ad they saw and the product or company it was promoting. Despite the refined methods of market targeting, relevance is still a major challenge with about 2.8% of respondents claiming that they assumed that the ad they had seen was applicable to them.

Overcoming Banner Blindness

Though banner blindness can’t be totally eliminated because of the ever-changing and complex search pattern of users, its effect can be ominously minimized by using relevant tests and understanding how users are behaving when they search or navigate a website.

Research has shown the solution to this problem is as follows:

  • The offer on display has to be positioned above the blog content on your site. Optimal placement of the ad is paramount in order to maximize exposure.
  • The ad should be creative, but should also complement the site and appear native or native-like to the site where the ad is being displayed.
  • Scrolling text has been proven to be more effective at being noticed by visitors than static text.
  • The call to action or offer has to be relevant to what the customer is looking for otherwise they won’t click on it. There is no point in advertising dog-training on a website which deals with “How to look after your cat”!

How Does WP Ticker Bar Overcome This Problem?

In response to the above conundrum, I wanted to create a WP plugin which displayed an attention-grabbing, call to action which would increase CTR to a blog site.

How is this achieved? In the settings screen of WP Ticker Bar, the user is given a number of options – all of which can easily altered to test performance:

The following are the features which I’ve included in WP Ticker Bar in an effort to overcome this phenomenon of ‘banner blindness:

Text Box – have a simple text box which would allow the user to very easily create a strong relevant call to action for prospective customer to the blog site. The ease in which the text can be altered means that the call to action can be tweaked for maximum CTR. In addition, the more relevant the offer is to what the visitor is looking for, the more likely they will click on the offer.

URL – The destination page where the visitor is taken to when the click on the bar. In order to get the most from a high CTR, it’s important to have a strong sales copy which is relevant to the call to action being displayed on the Ticker Bar.

Scrolling Option – A call to action message which ‘scrolls’ across the offer bar is more likely to noticed by visitors to a blog site than static text.

Text Color/Background Color – As mentioned above, the banner (or offer bar) should be creative but also compliment the website. This feature allows the user to set the colors of the offer bar which would complement whatever site the plugin was installed on. Again, like the text box, this can be altered easily to maximize effectiveness & CTR.

Delayed Display – This was an important feature which we included in the Settings screen. Delayed Display allows the user to set a time delay (in seconds) before the bar appears. The result being that a visitor can be browsing on a blog site for content, the offer bar would then appear after a number of seconds have passed. This further increases the probability of the bar being noticed and therefore further increase the probability of a click-through.

To conclude, since its development, WP Ticker Bar was introduced to a sample size of beta tester to determine whether we had met our objective of achieving a higher CTR than your standard, run-of-the-mill banner adverts. Based on the feedback, over 97% of users reported a higher CTR than usual. Out of this 97%, about 56% reported more sales than normal as a result of this higher CTR.

Based on further in-depth analysis, it was discovered that the 41% of the 97% who achieved a higher CTR but did NOT get any sales, did not do so mainly due to the lack of a strong ‘call to action’ message or a poor quality sales page (which was displayed after clicking the Ticker Bar). Therefore the WP Ticker Bar achieved what it was set out to do – achieve a higher CTR. As for the sales? Well, effort is still required on the part of the user in creating a high converting sales copy and a strong attractive call to action to be displayed on the WP Ticker Bar in order to capture more sales!

Add javascript to wordpress through plugin

You can add the any javascript through theme. But some times many clients wants simple wordpess plugin which will inject javascript code into wordpress site.  Here we have simple wordpress plugin code which Add javascript to wordpress through plugin and inject the javascript tag into head section of wordpress site.

Add javascript to wordpress through plugin

Here I will give very simple wordpress plugin code which inject the javascript tag into head section of wordpress site. You need to use my following code for creating the wp plugin. Create file with”wpapi_js.php” name and put following code in to that file.

Put this file under wp-content/plugins folder. Go to admin bashboard, plugin section. You will able to see the wpapi_js Ads plugin over there. After activating the plugin you will find. Javascript file will be added into head section.

<?php

/*

Plugin Name: wpapi_js Ads

Plugin URI: http://www.purabtech.in/

Description: wpapi_js Ads Plugin will add the ad slot to wordpress site

License: GNU General Public License 2.0 (GPL) http://www.gnu.org/licenses/gpl.html

Version: 1.0

Author: Purab Kharat

Author URI: http://www.wordpresapi.com/

*/

if ( !defined('wpapi_js_AD') ) {

define('wpapi_js_AD',get_option('siteurl').'/wp-content/plugins/'.plugin_basename(dirname(__FILE__)).'/');

} else {

define('wpapi_js_AD',WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__)).'/');

}

function wpapi_js_init() {
 if (!is_admin()) {
 wp_enqueue_script('the_js', 'http://yourjspath.com/test.js' );
 }
}
add_action('init', 'wpapi_js_init');

?>

If you want to add the javascript script for only wordpress admin panel then use following code.

 

//Load script to admin panel
function admin_myplugin_load_js(){
 wp_enqueue_script( 'custom_js', plugins_url( '/js/myplugin.js', __FILE__ ), array('jquery') );
}
add_action('admin_enqueue_scripts', 'admin_myplugin_load_js');

api-wp-css-js

Using above code you can easily Add javascript to wordpress through plugin, website to wp admin panel. Use above code and enjoy!

6 Excellent WordPress Plugins for Webmasters

Getting a website running on a WordPress CMS is a great decision and you won’t be disappointed. One of the biggest reasons WordPress is such a great platform is because of the thousands of different plugins that have been created for it. Almost everything you can think of has been made, so you don’t have a limitations.

6 Excellent WordPress Plugins for Webmasters

website running on WordPress CMS, want to know about  useful plugins, webmasters should have, then take a look 6 Excellent WordPress Plugins for Webmasters.

Akismet

akismat-wp-plugin, 6 Excellent WordPress Plugins for Webmasters
6 Excellent WordPress Plugins for Webmasters

Unfortunatly, we all will run in to spammers at some point during our experiance with WordPress, but don’t worry too much because there is an easy solution. Akismet! It is a plugin that assists by filtering out the spam comments and messages so you can focus on what real people are posting on your site. It is considered one of the best spam protection plugins available and gives your site around the clock protection.

Smart WordPress SEO

Boost your wordpress SEO: Full SEO features Meta Tags, webmaster tools settings, Social AuthorShip for Facebook, Twitter and Google Plus and XML sitemap

You can enter your meta keywords and description for your homepage and each post and pages.

This plugin will add different Meta description for each individual post as your excerpt of your post.

This will help your blog to rank better in google. You can easily increase your blog traffic using this plugin.

Following are the features:

  1. Preview of Smart wordpress SEO – Home page Keywords and description
  2. WebMaster Tool Verification Setting
  3. Social Authorship for Google, Twitter and Facebook
  4. XML sitemap setting
  5. Image SEO setting
  6. Eash Post or Page SEO title, Description and Keywords setting

AddThis

addthis-plugin

 

AddThis is an incredible plugin that allows you to add any social media widget to your pages. It comes with over 300 of the most popular and used social media sites and is easily usable. So pick and choose which social media sites you use and then give your viewers the easy option to like or follow. No matter what type of site you are running, social media is a great place to expand and find more visitors, so don’t underestimate the power of having a social media friendly WordPress site.

WordPress SEO by Yoast

wordpress-seo-by-yoast,Excellent WordPress Plugins for Webmasters
Excellent WordPress Plugins for Webmasters

 

You will need to make sure that your site is optimized for search engines to ensure that you are ranked as high as possible. This SEO plugin does many different things to help enhance your SEO and to get your ranked higher. Most of the features don’t even require you to do any work, it just does it automatically. It should be one of your highest priorities to get ranked as high as possible, so use this plugin to your advantage.

VaultPress

vaultpress,Excellent WordPress Plugins for Webmasters
Excellent WordPress Plugins for Webmasters

 

Backing up your site should be done multiple times a week, and that is exactly what this plugin does. If you back up your site on a regular basis, you won’t need to worry about what happens when something goes wrong and your site get messed up. You can easily just fix it by restoring your last saved version. There are plenty of things that can bring a site down such as a virus, hackers, malware, and plenty more. Don’t risk the failure of your site, get it backed up!

Google Analytics for WordPress

google-analytics-for-wordpress, Excellent WordPress Plugins for Webmasters
Excellent WordPress Plugins for Webmasters

 

Understanding your traffic is always a big part of having a successful site. Google Analytics will provide you with every detail you could possibly imagine about your traffic. What they end up doing when they get to your site, where everyone came from, your conversion rates, how much of your traffic is organic, what type of browsers they use and so much more. You can use all of this data to understand more about your site and how to get more traffic.

Contact Form 7

contact-7,Excellent WordPress Plugins for Webmasters
Excellent WordPress Plugins for Webmasters

 

Everyone needs form on their site, it makes it so much easier for users to submit information to the website. This plugin provide an easy solution that is very flexible for all your form needs. You can just have a “contact us” form, or you can create an elaborate from that goes into detail about anything you want.
These all can provide you with amazing results and a much better experience while using WordPress. While these are a great place to start, don’t forget to keep looking for other useful plugins!

WPtouch Mobile Plugin review by our team

Till year of 2012 many of wp developers are using the wptouch plugin for mobile responsiveness.  Here we given full WPtouch Mobile Plugin review by our team.

WPtouch Mobile Plugin review by our team

Now these days wptouch wp plugin is became vintage plugin for wp developers.  Now these day every wp theme needs to be responsive. There are many Internet users who are using websites on mobile devices. There are too many types of devices like Iphone, Ipad, Android, Windows and tablets. Every tech guy and girls are using the handy devices for net surfing. We do use tech gadgets for many purposes. So it is necessary to  your site need to be Mobile and device friendly.

What is WPTouch Mobile plugin?

WPtouch Mobile Plugin

 WPtouch Mobile Plugin review by our team
WPtouch Mobile Plugin review by our team

WPtouch is a mobile plugin for WordPress that automatically enables a simple and elegant mobile theme for mobile visitors of your WordPress website. The mobile WordPress theme is complete with AJAX loading articles and smooth effects when viewed from popular touch mobile devices like the iPhone, iPod touch, Android mobile phones, BlackBerry OS6+ mobile devices, and more.

The administration panel allows you to customize many aspects of its appearance, and deliver a fast, user-friendly and stylish version of your site to your mobile visitors, without modifying a single bit of code (or affecting) your regular desktop theme.

The theme also includes the ability for visitors to switch between the theme on your mobile WordPress website and your website’s regular theme.

Now Available: WPtouch Pro 3

With 3 all-new themes, an intuitive admin panel and great one-to-one ticketing support, it’s the best WPtouch yet!

For more information visit the WPtouch Pro 3 Product Page.

Download WPtouch

WPtouch Mobile Plugin review by our team:

  • It is very easy to Use and configure in wordpress
  • Easily create any WP theme responsive
  • Clean UI and very neat on any mobile device
  • Minimal Code and not heavy to load
  • Site loading will be faster
  • Nice Font and great for blogger
  • There are many configurations for admin
  • Who have not responsive them they can use this plugin
  • Plugin is cross browser compitiable
  • Image gallery support

Comments: I personally used wptouch plugin for some years. Without doing anything we can reach all mobile viewers. I can suggest all webmasters who have not using the responsive the wp theme they must use the wptouch wp plugin. But still my personal opinion is you should get the responsive wordpress design. There are too many wp themes which 100% free so you must use the mobile friendly wp theme,

wordpress plugin WooCommerce review by our team

I tested many wordpress plugins and written review about wordpress plugins. WordPress and there ecommerce is very popular now these days due to power of SEO and easy to use. Many people are looking for wordpress e-commerce solution. There are many ecommerce solutions are in wordpress. Woocommerce is really famous and popular e-commerce solution. Here in this article I am writing wordpress plugin WooCommerce review.

Woocommerce is really famous and popular e-commerce solution. Here in this article I given wordpress plugin WooCommerce review which will be helpful for site.

 

Information about Woo-commerce

WooCommerce is a powerful, extendable eCommerce plugin that helps you sell anything. Beautifully.

Transform your WordPress website into a thorough-bred eCommerce store. Delivering enterprise-level quality and features whilst backed by a name you can trust. Say “hello” to the WooCommerce eCommerce plugin.

WooCommerce is built by the experienced folk at WooThemes who also offer premium eCommerce themes and extensions to further enhance your shopfront.

STRENGTH & FLEXIBILITY
WooCommerce is built using WordPress best practises both on the front and the back end. This results in an efficient, robust and intuitive plugin.
SMART DASHBOARD WIDGETS & REPORTS
Keep a birds-eye view of incoming sales and reviews, stock levels and general store performance and statistics all from the WordPress dashboard or go to the reports section to view stats in more detail.

FEATURES

Whether you’re operating a superstore selling thousands of products, or a just a sole trader selling hand made arts and crafts WooCommerce has you covered. You can read all about WooCommerce’ features on the WooCommerce website.

Payment Gateways, Shipping Methods and Integrations are important to any store – WooCommerce comes bundled with the following:

  • PayPal Standard Gateway – Accept credit cards and PayPal payments
  • Mijireh Checkout – Accept credit cards via Stripe, Authorize.net, PayPal, eWay, SagePay, Braintree, PayLeap, and more.
  • BACS, Cheque and Cash on Delivery – Simple offline gateways
  • Flat rate shipping – Ship your items using a flat cost
  • Free shipping – Ship for free, or require a coupon to enable
  • International delivery, Local delivery and local Pickup
  • Google Analytics – Powerful analytics, including eCommerce tracking
  • Sharedaddy and ShareThis – Let your customers share your products with their friends
  • ShareYourCart – Encourage your customers to share their purchases in return for a coupon

wordpress plugin WooCommerce review:

  • Easy to install and configure
  • API’s for this plugin is not fully helpful to developers.
  • It include more security to woo-commerce plugin
  • There are always issues with wordpress up-gradation
  • There are so many helpful wp plugins which will add more control to woo-commerce
  • It gives the payment gateway support which are really helpful
  • For creating the woo-commerce theme you need the extra knowledge
  • It integrate will any wordpres theme
  • As compare to other e-commerce wp plugin woo-commerce is really great as per usability
  • There are many useful addons of woo-commerce but they are paid.
  • Premium plugin is much better but that is paid version
  • Multiple shipping is missing in this plugin
  • Woo-commerce team will never gives you free support Until you buy something from them
  • For small e-commerce site woo-commerce wordpress plugin is best
  • Quite confusing when it comes to customizing the theme as per design
  • Admin UI is really easy to use and understandable
  • It has no support for older wordpress versions
  • There are so many wp developers who are struggling with this theme
  • If you need more customization then go for other plugin

Comments: For small e-commerce site it is a great solution. It is quite slow plugin.

wordpress plugin WooCommerce review
wordpress plugin WooCommerce review

how to add google search to wordpress manually

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
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
wordpress gogogle search -CSE – Look and Feel

Sample Form Code: (you can use following code in wordpress widget)

<form action="https://purabtech.in/search-result/" id="cse-search-box">
<div>
815y3hyfmru" />
<input type="hidden" name="cof" value="FORID:10" />
<input type="hidden" name="ie" value="ISO-8859-1" />
<input type="text" name="q" size="32" />
<input type="submit" name="sa" value="Search" />
</div>
</form>

Following code you can use in search result page

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.

how to create news website using wordpress for free

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.

Liveblog

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.

Co-Authors Plus

Co-Authors Plus, how to  create news website using wordpress for free
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.

Solved: qTranslate slug with Widget not working with pages

We just saw the issue with qtranslate slug with widget is not working for 0.5 version. URL is showing but URL is not opening and 404 page is opening. we solved  the of qTranslate slug with Widget not working with pages.

Solved issue qTranslate slug with Widget not working with pages

The problem was exactly at the function qTranslateSlug_filter_request inside de file qtranslate-slug-with-widget.php, which is the only one of the plugin, so it’s easy to find.
We must take a look at this part of the code:

if (isset($q['name'])) {
    $type = QTS_POST;
    $slug = $q['name'];
    $param = 'p';
    $get_link = 'get_permalink';
    unset($new_q['name']);
} else if (isset($q['pagename'])) {
    //$type = QTS_PAGE;
    //$slug = $q['pagename'];
    //$param = 'page_id';
    $id = qTranslateSlug_get_page_by_path($q['pagename'], $lang);
    if ($id) {
        unset($new_q['pagename']);
        $q = $new_q;
        $q['page_id'] = $id;
        $get_link = 'get_page_link';
    }
} else if (isset($q['category_name'])) {
    $type = QTS_CAT;
    $slug = $q['category_name'];
    $param = 'cat';
    $get_link = 'get_category_link';
    unset($new_q['category_name']);
} else if (isset($q['tag'])) {
    $type = QTS_TAG;
    $slug = $q['tag'];
    $param = 'tag_id';
    $get_link = 'get_tag_link';
    unset($new_q['tag']);
}

That we hace to replace with the following:

if (isset($q['name'])) {
        $id = qTranslateSlug_get_page_by_path($q['name'], $lang);
        if ($id) {
            unset($new_q['name']);
            $q = $new_q;
            $q['page_id'] = $id;
            $get_link = 'get_page_link';
        } else {
            $type = QTS_POST;
            $slug = $q['name'];
            $param = 'p';
            $get_link = 'get_permalink';
            unset($new_q['name']);
        }
    } else if (isset($q['pagename'])) {
        $id = qTranslateSlug_get_page_by_path($q['pagename'], $lang);
        if ($id) {
            unset($new_q['pagename']);
            $q = $new_q;
            $q['page_id'] = $id;
            $get_link = 'get_page_link';
        }
    } else if (isset($q['category_name'])) {
        $type = QTS_CAT;
        $slug = $q['category_name'];
        $param = 'cat';
        $get_link = 'get_category_link';
        unset($new_q['category_name']);
    } else if (isset($q['tag'])) {
        $type = QTS_TAG;
        $slug = $q['tag'];
        $param = 'tag_id';
        $get_link = 'get_tag_link';
        unset($new_q['tag']);
    } else {
        $path = trim(preg_replace('/\?(.*)/', '', $_SERVER['REQUEST_URI']), '/');
        $id = qTranslateSlug_get_page_by_path($path, $lang);
        if ($id) {
            if (isset ($q['attachment'])) {
                unset($q['attachment']);
                unset($new_q['attachment']);
            }
            $q = $new_q;
            $q['page_id'] = $id;
            $get_link = 'get_page_link';
        }
    }
Solved: qTranslate slug with Widget not working with pages
Solved: qTranslate slug with Widget not working with pages

With the last wordpress versions, mine is 3.3.1, has changed the way of passing the query to the request filter, changing the array slug position from ‘pagename’ to ‘name’, then the plugin didn’t have a way to find any page, since it expected to find in the array the position ‘pagename’, nonexistent for the current case.
Ref is taken from – http://en.codatavern.com/qtranslate-slug-with-widget-wordpress-plugin-fix/

set post excerpt length to limited characters in wordpress

In wordpress 3.0 limiting the excerpt is very easy. the_excerpt function is very useful and helpful in wordpress. In wordpress limiting the excerpt is very easy. With our code you can set post excerpt length to limited characters in wordpress. the_excerpt function is very useful and helpful in wordpress.

set post excerpt length to limited characters in wordpress

set post excerpt length to limited characters in wordpress
set post excerpt length to limited characters in wordpress

In many wordpress theme we used the excerpt. Many times we need to control excerpt characters as per our wordpress theme requirement. You can easily change the excerpt length using wordpress hook.

You just need to open your functions.php file from your wordpress theme folder and put following code in that.

function change_excerpt_length($length) {
    return 100;
}
add_filter('excerpt_length', 'change_excerpt_length');

This filter is used by wp_trim_excerpt() function. By default the excerpt length is set to return 55 words.