WordPress has functionality of create custom post type. By default wordpress shows “Enter Title Here” for every post type. Basically every content type is custom post in wordpress. When you create new post you will able to see this placeholder text.
For custom post type we need to add Change ‘Enter Title Here’ Text for custom wordpress post. Many times we create custom post type for custom projects. Here in this article we shown you, how to create custom post type and change placeholder text.
When we want to customize custom post
If we are creating product custom type and want to add product description and their photos. For that you cannot use ‘Enter Title Here’ text. You need to give information to admin users with clear directions. So many times with custom post type you need to change placeholder text.
Using Following code You can create custom Post type
You need open functions.php file from your theme files and put following code.
Using above code you can create Product custom post.
Now Change ‘Enter Title Here’ Text for custom wordpress post
Use following code in functions.php file.
add_filter( 'enter_title_here', 'custom_product_enter_title' );
function custom_product_enter_title( $input ) {
global $post_type;
if ( is_admin() && $post_type == 'product')
return __( 'Enter Product Name here', 'your_textdomain' );
return $input;
}
Changed Placeholder text will look like as above shown in image. It is very simple and short code. You can change above code as per your project requirement.
WordPress tutorial for, how to automatically interlinking wordpress articles using plugin. Interlinking is good to promote our websites old articles and SEO. Why interlinking articles on wordpress is important.
There are many plugins or code you can use in wordpress site. We suggest to use this plugin. This plugin does not create any table in database and automatically interlink your websites articles. Internal linking will reduce you websites bounce rate, as text will be interlinked automatically when you create new post or page.
how to automatically interlinking wordpress articles using plugin
SEO Smart Links provides automatic SEO benefits for your site in addition to custom keyword lists, nofollow and much more.
SEO Smart Links can automatically link keywords and phrases in your posts and comments with corresponding posts, pages, categories and tags on your blog.
Further SEO Smart links allows you to set up your own keywords and set of matching URLs. Finally SEO Smart links allows you to set nofollow attribute and open links in new window.
It is a perfect solution to get your blog posts interlinked or add affiliate links to other sites.
Everything happens completely transparent, and you can edit the options from the administration settings panel.
How to setup SEO Smart Links
Use above image for setting for seo smart link plugin. We are using this plugin in our blog for creating interlinking.
But we got following Error in Extracted structured data section.
Extracted structured data
hcard
photo:
http://0.gravatar.com/avatar/adf2b1e1441486ca8a165815d87c598e?s=50&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D50&r=G
Error: This information will not appear as a rich snippet in search results, because it seems to describe an organization. Google does not currently display organization information in rich snippets
Error: Missing required field “name (fn)”.
Error will look like as follows:
How to fix wordpress gravatar webmaster tool error?
Open comments.php file which you can find in your theme folder. If you are using custom function for comments than check functions.php file. above error coming due to “hcard” tag which will in your comments.php. hcard used in gravatar image tag.
As per webmaster tool, we need to use hcard tag for only author. So for commenter remove hcard tag. There are many types of error can triggered on webmaster tool. If you want to solve errors than use seo meta tags wordpress plugin. This plugin will add most useful and seo friendly meta tags to you wordpress site.
In next article we will tell you about more webmaster errors which are as follows:
Error: rel attribute in a non-anchor/non-link tag. Error: rel missing href attribute. Error: Missing required field “entry-title”. Error: Missing required field “updated”. Error: Missing required hCard “author”.
We solved all above errors. In next article we will give you detailed information about solving above errors.
Here we are writing review about Centro – Responsive Awesome OnePage Corporate wordpress theme. This theme is developed by themifycloud.com. It is really nice onpage wordpress theme for corporate companies and firms.
Information about Centro – Responsive Awesome OnePage Corporate wordpress theme
Centro is a parallax one page and 100% responsive theme. It is powered with Twitter Bootstrap 3.1 Latest Framework and advancement in HTML5 and CSS3 Animation provide you with first class User Experience. It is clean and professional theme perfect for agencies, business and creative portfolio. It can be customized easily to suit your needs.
It is mobile friendly and responsive wordpress theme, which will be useful for any corporate site and firms. Fully customizable UI features. It is built for non IT people. Any one can easily configure this centro wordpress theme. It has many built-in custom shortcodes which can be useful to design or configure website. This theme has smooth slider and pagination events.
It has layout builder facility. You can create layout as per your need
It will give your full documentation with their snapshots. Our team found centro theme admin panel is so user-friendly.
Here in wordpress tutorial, we will show you, how to wordpress force regenerate thumbnails and delete big images from website. Deleting unwanted old big sized images. This will save your servers disk space.
When we upload image to wordpress website, Actually wordpess uploads five images in backend. Which is unnecessary and unwanted. If your theme added, custom thumbnail sizes then it create more than five images and upload on server. There are many images which are unwanted so you can delete those images from your server using following trick.
wordpress force regenerate thumbnails delete big images
The EWWW Image Optimizer is a WordPress plugin that will automatically optimize your images as you upload them to your blog. It can optimize the images that you have already uploaded, convert your images automatically to the file format that will produce the smallest image size (make sure you read the WARNINGS), and optionally apply lossy reductions for PNG and JPG images.
Why use EWWW Image Optimizer?
Your pages will load faster. Smaller image sizes means faster page loads. This will make your visitors happy, and can increase ad revenue.
Faster backups. Smaller image sizes also means faster backups.
Less bandwidth usage. Optimizing your images can save you hundreds of KB per image, which means significantly less bandwidth usage.
Super fast. The plugin can run on your own server, so you don’t have to wait for a third party service to receive, process, and return your images. You can optimize hundreds of images in just a few minutes. PNG files take the longest, but you can adjust the settings for your situation.
Best JPG optimization. With JPEGmini integration, nothing else comes close (requires an API subscription).
Better PNG optimization. You can use pngout, optipng, and pngquant in conjunction.
Root access not needed Pre-compiled binaries are made available to install directly within the WordPress folder, and cloud optimization is provided for those who cannot run the binaries locally.
Optimize almost anything Using the Optimize More tool, and the wp_image_editor class extension, any image in WordPress can be optimized.
By default, EWWW Image Optimizer uses lossless optimization techniques, so your image quality will be exactly the same before and after the optimization. The only thing that will change is your file size. The one small exception to this is GIF animations. While the optimization is technically lossless, you will not be able to properly edit the animation again without performing an –unoptimize operation with gifsicle. The gif2png and jpg2png conversions are also lossless but the png2jpg process is not lossless. The lossy optimization for JPG and PNG files uses sophisticated algorithms to minimize perceptual quality loss, which is vastly different than setting a static quality/compression level.
EWWW Image Optimizer calls optimization utilities directly which is well suited to shared hosting situations where these utilities may already be installed. Pre-compiled binaries/executables are provided for optipng, gifsicle, pngquant, cwebp, and jpegtran. Pngout can be installed with one-click from the settings page. If none of that works, there is a cloud option that will work for those who cannot run the optimizers on their own server.
Bulk Optimize
There are two functions on the Bulk Optimize page. One is to optimize all images in the Media Library. The Scan and Optimize is for everything else. Officially supported galleries (GRAND FlaGallery and NextGEN) have their own Bulk Optimize pages.
Skips Previously Optimized Images
All optimized images are stored in the database so that the plugin does not attempt to re-optimize them unless they are modified. On the Bulk Optimize page you can view a list of already optimized images. You may additionally choose to remove individual images from the list, or use the Force optimize option to override the default behavior. The re-optimize links on the Media Library page also force the plugin to ignore the previous optimization status of images.
WP Image Editor
All images created by the built-in WP_Image_Editor class will be automatically optimized. Current implementations are GD, Imagick, and Gmagick. Images optimized via this class include Meta Slider, BuddyPress Activity Plus (thumbs), WP Retina 2x, Imsanity, Simple Image Sizes, Hammy, Animated GIF Resize and probably countless others. If you have a plugin that uses WP_Image_Editor (or are not sure) and would like EWWW IO to be able to optimize previous uploads, post a thread in the support forums.
Optimize Everything Else
Site admins can specify any folder within their wordpress folder to be optimized. The ‘Scan and Optimize’ option under Media->Bulk Optimize will optimize theme images, BuddyPress avatars, BuddyPress Activity Plus images, Meta Slider slides, WP Symposium images, GD bbPress attachments, Grand Media Galleries, and any user-specified folders. Additionally, this tool can run on an hourly basis via wp_cron to keep newly uploaded images optimized. Scheduled optimization should not be used for any plugin that uses the built-in WordPress image functions and it does NOT include Media Library images, because they are already optimized on upload.
NextGEN Gallery
Features optimization on upload capability, re-optimization, and bulk optimizing. The NextGEN Bulk Optimize function is located near the bottom of the NextGEN menu, and will optimize all images in all galleries. It is also possible to optimize groups of images in a gallery, or multiple galleries at once. NOTE: Does not optimize thumbnails on initial upload for legacy (1.9.x) versions of NextGEN, but instead provides a button to optimize thumbnails after uploading images. No further updates will be provided for NextGEN legacy support, use NextCellent instead.
NextCellent Gallery
Features all the same capability as NextGEN, and is the continuation of legacy (1.9.x) NextGEN support.
GRAND Flash Album Gallery
Features optimization on upload capability, re-optimization, and bulk optimizing. The Bulk Optimize function is located near the bottom of the FlAGallery menu, and will optimize all images in all galleries. It is also possible to optimize groups of images in a gallery, or multiple galleries at once.
Image Store
Uploads are automatically optimized. Look for Optimize under the Image Store (Galleries) menu to see status of optimization and for re-optimization and bulk-optimization options. Using the Bulk Optimization tool under Media Library automatically includes all Image Store uploads.
In wordpress widget or on homepage, In wordpress get random posts from category. Here in wordpress tutorial we have given some nice tricks and tips for wordpress developers. There are many ways to achieve this. I can recommend to use Page Builder Plugin and use smart posts widget plugin.
wordpress get random posts from category
Above plugin will not add any database table to your wordpress website. We prefer to use the above plugin. Using smart posts widget plugin, you can show random post with simple setting or configuration.
Still you want to show random post by using code than use following code.
Smart Posts Widget – is designed to show your posts as you want without any programming knowledge. display all type of post types from a certain post type or post category or post tags.
There are many options for user to filter or order posts. You can able to select many options to choose your posts.
Smart Posts Widgets developed to provide very easy to user for displaying all types of posts within your widget areas.
widget is compatible with Page Builder. You can create beautiful page layouts and show posts as per your choice.
Webmaster verification is process which will enables some site management tools by provided by google, Bing and Yandex. Here we given full steps for Google, Bing Verify ownership with wordpress website.
Why website verification is important?
Site Verification will not increase your page rank or search results of your website, It will help you to optimize your website with SEO tools.
Verify your website
If you have custom sitemap XML then you should open webmaster account and tell search engine about your sitemap file. If you have sitemap.xml file in webroot still we recommend to submit your sitemap file to search engine.
Google, Bing Verify ownership with wordpress Website
Manual Process for Verify ownership with wordpress website
Google
Login to your Google Webmaster Account (if your website has Google Analytics, Google Adsense or Google Search, you can use the same Google account). If you don’t have one, you can create one for free on www.google.com/accounts.
On Google Webmaster Tools click ‘Verify this site’.
In the Verification method list, select ‘Meta tag’ and copy the part of the Meta tag code provided by Google that is inside content=”…”.
Google+ (the social network)
Make sure you have a link from your Google+ Page to your website. Easiest place to do this is in the “Recommended Links” section of your Google+ Page’s “About” tab.
Paste your Goggle+ Page ID number, which is part of the URL for your Page. For example, the URL for YWDs’s Page is https://plus.google.com/u/0/purabkharat/posts so our ID number is purabkharat.
In ‘Option 2 (Meta Tag Authentication)’ select copy the part of the Meta tag code provided by Bing that is inside content=”…”.
Pinterest
Go to your Pinterest page select “Settings”.
Scroll down to “Website”. Enter your website URL iinto the filed. Click the “Verify Website” button.
Click the link “Verify with a meta tag”. Copy the part of the Meta tag code provided by Pinterest that is inside content=”…”.
Automated Process for Verify ownership with wordpress website
Seo Meta Tags (https://wordpress.org/plugins/seo-meta-tags/)
This wordpress plugin gives facility to add Google, Bing Verify ownership with wordpress using WebMaster tool and meta tag added Social AuthorShip meta Tags added for Facebook, Twitter. You do not need to install too many plugin for wordpress SEO. You can just install SEO Meta tags plugin. It will handle all SEO aspects of your wordpress website.
First install SEO Meta Tags wordpress plugin. On right side menu you will find “Webmaster Tools” page. Add your meta tags here. It will add best of meta tags to you wordpress site. This plugin will add best of SEO meta tags to your wordpress website. It will boost your wordpress website SEO in two weeks.
Page bounce rate is many time discussed in many article. Here we shown, how to reduce bounce rate google analytics in wordpress. Showed tricks for reduce bounce rate. My site was having high bounce rate always. I tried many tricks for solving the issue. Then I read many article about bounce rate. how google analytics calculating bounce rate.
I was recently told that some people use event tracking to find a truer bounce rate. Yes. You can reduce bounce rate by using some adding some javascript event to wordpress site. I found nice wordpress plugin which will help us to reduce bounce rate.
how to reduce bounce rate google analytics in wordpress
Get the real Time On Site and Bounce Rate in Google Analytics. Google Analytics calculates the Time On Site based on the length of time between a user entering your site and their last page view. This won\’t give you the REAL Time on Site and Bounce Rate stats.
FEATURES
Old and new tracking codes are supported
Code placement choice between header and footer
Track page scrolls
Change time event frequency
Set maximum tracking time
Disable for administrator role
Worst case scenario A visitor is very interested in one of your pages and takes 2 minutes and 13 seconds to read the article. After this he bookmarks the page and leaves. This visitor stayed 2 minutes and 13 seconds on your page, but never interacted with it. To Google that is a bounce! And bounced visits are marked 0:00 Time on Site. Not fair, right?
Another bad scenario A visitor goes to your website and stays 1 minute and 11 seconds on the first page. Then, he goes to a second page where he stays 1 minute and 12 seconds. Without any interaction on this page, he leaves. Since Google doesn’t know how long your visitor stayed on the second page, Google will add only the time the visitor spent on the first page to Analytics. Not fair, right?
We installed this plugin and we found really good impact. Our websites bounce rate started reducing. It takes one or two weeks to see impact on google analytics page. Here In this article, we given screen shot of our google analytics page.
As a SEO specialist, We know the importance of h1 and h2 tag in wordpress website. Here we will show you, how to add h1 tag to wordpress homepage in theme code.
how to add h1 tag in wordpress homepage in theme
There are many custom wordpress themes which has poor SEO. We need check every aspect of SEO friendliness of wordpress theme. recently, we faced same issue with one of our site. When we checked the website in SEO doctor Firefox addon. We did not find h1 tag on homepage. We got the following message.
When, we checked message. We found following error.
“Fail”,”H1 tag”,”* You have no H1 tags” “Fail”,”H2 tag”,”* 10 H2 tags found before/without H1 (“Demo post 12″)”
Many custom developer talking about following solution. This will not display h1 to a visitor but will to a search engine.
But we are not agree with above solution. do not use above solution. Google and other search engine did not consider hidden text or very small font words.
Solution
On Home page, For post title tag you should h1 tag. If you use multiple h1 tags in single webpage, that is not harmful. You should use rel bookmark in tag. For home page use following code.
REL=Bookmark Bookmarks are used to provide direct links to key entry points into an extended document. The TITLE attribute may be used to label the bookmark. Several bookmarks may be defined in each document, and provide a means for orienting users in extended documents.
You can use style or classes as per your theme requirement. The h1 is used in header.php for Custom Logo / Site Title, so there should be a H1 there. But If you used only logo image and not used h1 tag on home page than above issue will happen. You can use multiple h1 tags in one webpage. You can check wordpress core themes and their code and refer it. It has best SEO practice followed.
In core wordpress themes, We can see multiple H1 tags with rel bookmark element. So you can use above code in your wordpress theme and increase your website SEO.
WordPress plugin tutorial, How to use Smart Posts Widget wordpress plugin. Complete installation guide and using with page builder plugin. Explored features of smart posts Widget. Smart widget has Unlimited features and options for showing posts or pages. It is fully compatible with responsive wordpress websites. We tested this plugin with responsive page designs and page builder.
If you are building corporate website than smart post widget is very helpful to you. Without coding knowledge you can show posts by category and tags. You can select custom post type for showing. You can choose post order as per your need.
How to install Smart Posts Widget?
Follow the usual routine;
Open WP admin – Plugins – Add New
Enter “Smart Posts Widget” under search and hit Enter
Plugin will show up as the first on the list, click “Install Now”
Or if needed, upload manually. Follow the steps below to install the plugin.
Upload the smart-posts directory to the /wp-content/plugins/directory
Activate the plugin through the ‘Plugins’ menu in wordpress
Go to “Smart Posts Widget” option to configure the button
How to use Smart Posts Widget wordpress plugin
After smart posts widget installation go to Appearance->Widgets section, You can see the Smart Posts widget. Drag and drop to sidebar or any place, where you want to show wordpress posts.
You will be able to see following options in widget.
This widget has following Features:
Features
Compatible with Page Builder
Filter by tags
Filter by categories
Custom Post type support
Set how many posts to show.
Filter by sticky posts
Option to change ordering of posts.
Select number of posts to display
Option to show post thumbnail & set dimension by width and height.
Display title
Option to show created post date.
Option to show updated post date.
Set which category posts
Display post author and link
Change excerpt length (in words)
Display post comment count
Display excerpt or full content
Option to make the widget title link to category or tag page.
Add text or HTML before and after posts list
Multiple widgets
Add custom CSS to widget
Order by post comments
Order by random posts
Order by created date
Order by post title
How to use Smart Posts Widget with Page Builder?
First install Page builder to your wordpress website. If you are already using page builder than go to create or edit pages. Click on page builder tab and add widget. You can see smart posts widget as shown.
You can Choose filters and post type as per your requirement. You can show all type of posts with order and filter. You can design your page as per your choice.
Result will be as follows:
If you want to see above page in action than visit Demo link.