Creating and Utilizing Custom Posts in WordPress: A Comprehensive Guide

WordPress Custom Posts are a powerful feature that allows you to create custom post types for your website. This means that instead of just having the standard posts and pages, you can create new types of content that are specific to your website. This can be extremely useful for creating custom content like portfolios, team members, testimonials, and more. In this blog post, we will discuss how to create custom post types in WordPress and how to use them to enhance your website.

WordPress security issues

WordPress is a Famous content management system. WordPress covers more than 40% of internet websites. As it is too powerful it Can attract a lot of security issues buy hackers or cybercriminals. WordPress is not poorly maintained. Malware attacks can happen due to lack of security awareness and best practices.

WordPress wp_query and Loop

WP_Query provides numerous functions for common tasks within The Loop.

Useful .htaccess Tricks for WordPress

PHP Developers and WordPress developers some times comes across .htacess file. this file is configuration file for for security and performance. here i will show few usefull tricks to do with .htacess file. This file is located at root of your website (/public_html/) Before we start lets grab the .htacess

Common WordPress Errors and How to Fix

Syntax errors This error usually occurs when you are trying to add code snippets into WordPress and have accidentally missed something or the code has incorrect syntax. This will result into a PHP parse error and you will see a notice like: Parse error – syntax error, unexpected $end in

WordPress FAQ

Q. What are the types of hooks in WordPress a. There are two types of hooks 1) Action hooks 2) Filter hooks Q. What is custom field in wordpress? a. Custom field is a meta-data that allows you to store arbitrary information to the wordpress post. Q. What is the

Create change password Page

to create a change password page for user in WordPress just save the code into your current theme directory Create new page in wp-admin/page name it as change select template “change password” publish it. thats all its done .   code  <?php /* Template Name: change password */ global $current_user;

Change WordPress default email

Every time someone submitted a comment on your blog, signed up as a user or did anything that required WordPress to generate and send an e-mail, by default the “From Name” in that message appeared as “WordPress” and “From” address was “wordpress@your-domain.com”. if you want to change this, just copy

WordPress post formats

WordPress allows you to switch on different post formats from a set list. You don’t have to use all of them, you simply have to pick which formats suit your site best. At the moment, this list consists of: Aside: Similar to a quick note. Use these for posts like

Extend User Contact Fieds in WordPress

We can add lots of contact information, depending upon your needs. To extend user contact info, open the files and add in this code <?php function my_new_contactmethods( $contactmethods ) {     // Add Twitter     $contactmethods[‘twitter’] = ‘Twitter’;     //add Facebook     $contactmethods[‘facebook’] = ‘Facebook’;       return $contactmethods; } add_filter(‘user_contactmethods’,’my_new_contactmethods’,10,1); ?>   This is only a basic example and you can

How to Display any External RSS Feed on Your WordPress Site

Do you know how bloggers who display their other blog’s feed on their site. You want to do it too for extra promotion and traffic. Well here is the tutorial for you. Simply paste the following code in anywhere in your theme: <?php include_once(ABSPATH.WPINC.’/feed.php’); $rss = fetch_feed(‘http://feeds.feedburner.com/wpbeginner’); $maxitems = $rss->get_item_quantity(5); $rss_items

Taxonomy filter for admin area

While working on custom post everybody struggles while sorting the posts by custom taxonomy, if you add a code for each taxonomy then it will be lengthy. so here is the code for  sort by all taxonomies. Add it on your functions.php then sorting will be available on all posts

Creating custom Post Type In WordPress

WordPress big advantage while comparing with other CMS is Custom Post type mechanism. Custom post type allows to create large variety of content. Lets have a look at how to create a custom post type Custom post types are available from WordPress 2.9. Custom post type is nothing more than

Correcting wp-admin 404 error for wordpress under IIS

If your server is on IIS  and   running WordPress and experiencing an issue where navigating to /wp-admin results in either a blank page or a 404 error, you may need an additional rule in your .htaccess file. Generally you’ll find that, assuming you’re set up properly, you can reach

WordPress Trends Infographic

Interesting story about WordPress on elegant themes   View the full WordPress Trends Infographic designed by ElegantThemes.com.