Display WordPress post excerpt instead full content

The WordPress Excerpt is an optional summary or description of a post; in short, a post summary. After published your post, the excerpt will be display in RSS feeds (if you choose it’s not display your full post), Search results, Tag archives, Category archives, Monthly archives and Author archives. Don’t confused between excerpt and teaser (the part of a post that appears on the front page when you use the More tag). While both are related to the manual excerpt, they are different from it.

Read moreDisplay WordPress post excerpt instead full content

Customizing the WordPress Read More link

3 Easy ways to customize the WordPress Read More link/text

Sometimes, when you crafting your themes, you will need to change the WordPress Read more link/text of the post loop that appeared on the homepage like See more…, View more … … and somethings similar. The easiest way to do it by direct change it through index.php or in the loop function: the_content('Read on...');
You don’t want to do like it – the dirty way. Yes, I’m too!. Since WordPress v2.8 introduced the_content_more_link filter hook. Maybe this post will help those theme authors cut back on an extra filter hook when it’s not needed.

Read more3 Easy ways to customize the WordPress Read More link/text

narga-core folder structure

Re-Use Common Elements with WordPress Template Part

During WordPress theme development process, you’ll repeat using some part of your layout like header, sidebar, footer, content body… WordPress has a few standard includes built in, such as get_header(), get_footer(), and get_sidebar(). However, since WordPress 3+ you can easily create your own custom includes using the get_template_part() function.
By using WordPress Template Part, your theme is more compact and we can now have libraries of reusable template code, we can package additional sidebars, slide shows, social icons, custom loops, search boxes, logon boxes etc … and call these in any of our theme pages.

Read moreRe-Use Common Elements with WordPress Template Part

Load custom styles and scripts in WordPress header

WordPress Child Theme: remove and load more scripts and styles files

During the development process of WordPress Child Theme you will planning remove some default scripts and styles or change the way to tell browser load them, then add your own to optimize the theme. This, of course, you should try to make as little HTTP requests as possible to keep your site up to speed, put your JavaScript in the bottom of the page to ensure faster rendering, and it also gets real tough to maintain all those separate files if many things have to change The good news is that WordPress has a built-in system that allows us to deregister these scripts and styles instead edit the parent theme files.

Read moreWordPress Child Theme: remove and load more scripts and styles files

A Guide to Creating WordPress Child Theme

A Guide to Creating WordPress Child Theme

The most interesting feature of WordPress which I like is Child Theme. A WordPress child theme is a theme that inherits the functionality of another theme, called the parent theme, and allows you to modify, or add to, the functionality of that parent theme without having to edit the original/parent theme template files. Since the child theme is stored separately, you don’t need to redo the changes next time you upgrade the theme. For this reason, child themes are the recommended way of making modifications to a theme.
Child themes let you start with the basics of an existing theme, so you’re not having to reinvent the wheel. You can pick a theme that has the functionality and basic layout you need, but then customize everything about it as you would designing a theme from scratch. So, choose a good WordPress original/parent theme is very important. I recommend that you choose a WordPress Theme Framework.

Read moreA Guide to Creating WordPress Child Theme

Useful WordPress Tweaks and Plugins to Hardening Your WordPress Installation

Useful WordPress Tweaks & Plugins to Hardening Your WordPress

Have you ever asked yourself about your WordPress website’s security? How to keep your WordPress websites away from the bad guys for good? Lots of bloggers and website administrators fail to recognize the importance of securing their site.
From a few months ago, my website has hacked with a trojan, their made a backdoor then change .htaccess file to changed almost information about my website on Google search result to spam information.
After all this, I came to WordPress plugins website and had a look to some security plugins. If they were working fine then it’s can make my blog more secure from these type of attacks.

Useful WordPress Tweaks and Plugins to Hardening Your WordPress Installation
Useful WordPress Tweaks and Plugins to Hardening Your WordPress Installation
In this article, I’m going to show you some tweaks and plugins that you can do to block the holes that may occur during or after WordPress installation.

Read moreUseful WordPress Tweaks & Plugins to Hardening Your WordPress

Move from Wordpress.com to your own Wordpress.org self-host

Things to do when move your website from WordPress.com to self hosted

You’ve started your first blog on WordPress.com because the service was free, you weren’t required to have any technical skills and there were plenty of widgets, themes and plug-ins to help you quickly customize the blog. However, a time comes when you might want to move to your own domain name which is a continuance of your WordPress.com blog. Moving your WordPress.com blog to a self-hosted WordPress.org is actually more simple than you might believe! Sure there’s a few steps but all good things require a bit of work, right?
Move from WordPress.com to your own WordPress.org self-host

Read moreThings to do when move your website from WordPress.com to self hosted