Posts

How to Add Pinterest Pin It button to your WordPress Blog

Pinterest can be a great place to get a new source of traffic to your blog. We use Pinterest here at WP Cupid Blog, and we see great results in the amount of traffic that comes from Pinterest. In this post, we will easily show you how to add Pinterest pin it button to your WordPress blog.

 

Pin Image To Pinterest

how-to-add-pinterest-pin-it-button-in-your-wordpress-blog

 

Video Tutorial: How To Add Pinterest Pin It Button To Your WordPress Blog

How To Add Pinterest Pin It Button To Your WordPress Blog

Adding a Pinterest Pin it Button to WordPress Using Plugin

One of the quickest and easiest ways you can go about adding a Pinterest “Pin it” button in your WordPress site is by using a social sharing plugin. The plugin we recommend you use is the Floating Social Bar. To start off, you need to install and activate the Floating Social Bar plugin. Once you get the plugin installed and activated you need to go to the Settings area and then click on Floating Social Bar to configure the plugin.

 

floating-social-bar-settings

 

You are going to see available social services consisting of Linkedin, Facebook, Twitter, Google Plus, and Pinterest. You will see under that a section named, “Enabled Social Services.” All you have to do is drag and drop the Pinterest button to the Enabled Social Services section. If you want to include the other social media buttons that are showcased all you have to do is drag and drop them down to the Enabled Social Services along with the Pinterest button you dragged and dropped. Once you have the Pinterest button and any other buttons enabled just click save settings.

 

floating-social bar-plugin

 

Another cool feature with this plugin is that you can select to show the Pinterest Pin It button on posts, pages, media, Avia framework, and Portfolio items. Select where you would like to show your Pinterest Pin It button and click save changes and your all set.

 

pinterest pin-it-button-post-settings

 

Now all you have to do is head on over to your blog and take a look. You will now see the Pinterest Pin It button showing towards the top of your site as you can see in the example below.

 

pinterest pin-it-button-post-settings

 

Manually Adding a Pinterest Pin it Button to WordPress

Now I want to go over how to manually add a Pinterest Pin it button in WordPress. You want to start off by copying and pasting the below script in your footer.php file right before the body close tag.

Once you are complete with the above task copy and paste the code below into your single.php file at a location of your choice.

 

<script type="text/javascript">
(function() {
    window.PinIt = window.PinIt || { loaded:false };
    if (window.PinIt.loaded) return;
    window.PinIt.loaded = true;
    function async_load(){
        var s = document.createElement("script");
        s.type = "text/javascript";
        s.async = true;
        s.src = "http://assets.pinterest.com/js/pinit.js";
        var x = document.getElementsByTagName("script")[0];
        x.parentNode.insertBefore(s, x);
    }
    if (window.attachEvent)
        window.attachEvent("onload", async_load);
    else
        window.addEventListener("load", async_load, false);
})();
</script>

 

To go into more detail about the code above and what it is doing is it is pulling your Featured Image, the title of your blog post as the description, and the URL of the blog post. I do want to mention the code above is specifically designed for the vertical share button. If you need a horizontal share button, this is a very easy thing to do. What you want to do is change count-layout parameter to horizontal. You will find this located at the end of the second code provided below. You will see it says vertical. Just change it to say horizontal. Make sure you scroll all the way over to get the full code.

 

<?php $pinterestimage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); ?>
<a href="http://pinterest.com/pin/create/button/?url=<?php echo urlencode(get_permalink($post->ID)); ?>&media=<?php echo $pinterestimage[0]; ?>&description=<?php the_title(); ?>" class="pin-it-button" count-layout="vertical">Pin It</a>

Pinterest shortcode

The last thing I want to go over is if you want to create a shortcode for the Pinterest Pin It button. To do this, you want to copy and paste the below code either in your theme’s functions.php file or your site plugin’s file. Make sure you scroll all the way over when copying the code.

 

<?php
function get_pin($atts) {
$pinterestimage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );
return '<a href="http://pinterest.com/pin/create/button/?url=' . urlencode(get_permalink($post->ID)) . '&media=' . $pinterestimage[0] . '&description=' . get_the_title() .'" class="pin-it-button" count-layout="vertical">Pin It</a>'; } 

add_shortcode('pin', 'get_pin');
?>

 

Final Thoughts

We hope this article helped you and showed you how to add Pinterest Pin It button to your WordPress blog.

Let us know in the comments below if this was helpful! We would love to hear from you.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

How To Backdate Your WordPress Posts For Beginners

Currently, WordPress allows you to publish a post with current date and time, backdate a post to a past date and time, or schedule posts to be published in the future. In this post, I’m going to be going over how to backdate your WordPress posts.

Share To Pinterest

how-to-back-date-your-wordpress-posts

Video Tutorial: How To Backdate Your WordPress Posts

How To Backdate Your WordPress Blog Posts | Beginner's Guide

Advantages Of Backdating WordPress Posts

Before we get into the step by step tutorial on how to backdate WordPress posts I want to go over the advantages of backdating your WordPress posts.

The advantages of backdating posts in WordPress are that newer articles tend to get more attention from users than older articles. By backdating your WordPress posts you can grab more attention from your readers and users making the post more recent.

A good example of this is releasing a positive article on a certain celebrity when a scandal for that celebrity has just taken place.

You can go into the blog post about the celebrity and backdate the blog post you wrote about them to show it was published from a time frame that was before the celebrity scandal took place.

By doing this it will ensure that you will still be able to use the content from the blog post you have written and that it will not negatively affect your SEO ranking for the blog post.

Backdating your WordPress posts can also be useful for news related posts when a twist or turn takes place shortly after the news story came out or for seasonal content around the holidays like Easter or Christmas.

Disadvantages Of Backdating WordPress Posts

A disadvantage of backdating your WordPress posts is that it could negatively affect your SEO for the post. Some try to game the Google SEO algorithm by backdating their WordPress posts and this could negatively affect your SEO.

My recommendation is that you implement a last updated on for the blog post so that when you make changes to the blog post it will showcase a last updated on before the date.

My recommendation is that if your scenario for backdating your WordPress posts is different from what was mentioned above in the advantages of backdating WordPress posts that you try to steer clear and leave backdating your WordPress posts as the last resort. More than likely you will lose way more than you will gain by doing so.

You can find the instructions on how to add last updated on to your blog posts after the how to backdate your WordPress posts tutorial below.

How To Backdate Your WordPress Posts For Beginners

You want to start off my going into your WordPress dashboard and going to a post that you want to backdate your WordPress posts too.

If you haven’t already published your post on the post editor screen, under the publish button you will see the option to publish your post immediately. You will see an edit link right next to this. Click on the edit link.

 

edit-a-post's-date-and-time-in-wordpress

 

If your post has already been published you will see it says published on with the date it was published. Click the edit link to continue in backdating your WordPress post.

 

 

Once you click on the edit link, it’ll show a drop-down that will display the post’s time and date settings. This is where you can put any date or time in the field.

You can set the current date, a past date, or a future date. If you choose a future date, it will allow you to schedule the post for the scheduled date and time you have selected.

 

scheduling-a-post-in-wordpress

 

One thing I want to point out is choosing a date and time in the past is going to update the date, and it will change the post’s position in your websites archive pages as seen below.

 

added-back-dated-posts-showing

 

A good example of this is if you change the month of a post from October to March then that post will now show in the archive page for March instead of October, even if you just published the post.

The post will also show by the latest date in the all posts list page in the admin area.

This can be useful if you want to publish an article but don’t want it to show on the first page of your site. You just backdate it to a date earlier than the most recent post on your site’s front-page.

That’s how to backdate your WordPress posts.

Show Last Updated Date

Many users think that getting rid of the publish dates all together will mean that search engines will think that your content is new. This is incorrect. Search engines are not easily tricked and you should never do anything to try to trick the search engines.

When you remove the dates from WordPress it is no longer visible. However, WordPress still saves the blog post publish date and search engines will not have a hard time finding this information.

To show the last updated date for blog posts you just need to add the following code to the loop.php or single.php file. Locate the code that is showing the date of the post and replace it with the following code:

Last updated on <time datetime=“<?php
the_modified_time(‘Y-m-d’); ?>”><?php
the_modified_time(‘F jS, Y’); ?></time>

This will tell search engines when the post was last updated and it will be helpful for searchers when they see the last updated date so they know the blog post isn’t outdated.

Click here to check out a related post on auto-scheduling WordPress posts.

Share To Pinterest

how-to-back-date-your-wordpress-blog-posts


Final Thoughts

We hope this article helped you and showed you how to backdate your WordPress posts.

Let us know in the comments below if you were successful! We would love to hear from you.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

How To Schedule Blog Posts In WordPress

WordPress has an excellent feature that many WordPress beginners don’t know about. WordPress allows you to schedule your blog post. In this post, I’m going to be going over how to schedule blog posts in WordPress.

Pin Image To Pinterest

how-to-schedule-your-posts-in-wordpress

Why Schedule Posts In WordPress?

Sites have a peak in which they get the majority of their users at a particular time of the day. If you happen to live in a different time zone than your readers this can definitely be a problem. Let’s just say your peak time for your readers is 2 a.m. This is where scheduling posts can come in very handy. Another situation is let’s say you are going on vacation with your family and you don’t want to abandon your blog. By scheduling your posts in WordPress, you don’t have to worry about leaving your blog.

Scheduling posts are something we do here at WP Cupid Blog. It has so many benefits. It allows you to stay ahead of yourself by finishing up articles in advance and have them ready for the scheduled publish date. It’s also very helpful when preparing for a busy week ahead of time and schedule articles to be published automatically.

Video Tutorial: How To Schedule Blog Posts In WordPress

How To Schedule Your Posts In WordPress | Quick & Easy

How To Schedule Blog Posts In WordPress?

Once you are done writing a post in WordPress you want to look right above the publish button. You will see the option saying publish immediately. You want to click the edit link you see right next to it.

schedule-your-posts-in-wordpress

 

Once you click on the edit link, you will see where you can set the date and time. Just set the date and time for a future date.

 

 

Once you have your future date and time set, you will see the schedule button. Click the okay button and then click the Schedule button to schedule your post.

 

schedule-post-wordpress

 

One thing to keep in mind is some users might prefer consistent timing. One example is let’s say you write and publish posts right before users wake up for breakfast. More than likely most of your users will read your posts at breakfast over some coffee. Make sure you continue to do this to keep your users loyal to your website. By changing the times, you post some of your loyal followers might have to find another breakfast blog to read. And very often users will look forward to reading your posts so if you’re not consistent this can be a turn off to them.

Final Thoughts

We hope this article helped you and showed you how to schedule blog posts in WordPress.

Let us know in the comments below if you were successful! We would love to hear from you.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

How To Change The Copyright Footer Text In WordPress

In this post, I’m going to be going over how to change the footer copyright text in WordPress quick and easy. I’ve also provided a video tutorial that shows you how to change the footer copyright text in WordPress step by step if you prefer learning through video.

 Pin Image To Pinterest

how-to-change-the-copyright-footer-text-in-wordpress

 

Video Tutorial: How To Change The Copyright Footer Text In WordPress

How To Change Copyright Footer Text In Any WordPress Theme 🔥 (FAST & Easy!)

How To Change The Copyright Footer Text In WordPress

This tutorial will work on any WordPress theme whether it is a free WordPress theme or a premium WordPress theme.  To start off head on over to the WordPress dashboard.  Next you want to go to Appearance and hover over it.  You want to click on the Editor link.  

how-to-change-the-copyright-footer-text-in-wordpress

 

Once you do that you will see the style.css.  On the right-hand side of the page, we are looking for Theme Footer.  Right under Theme Footer, you will see footer.php.  You want to click on that link.  See below image showing this.

 

theme-footer-footer-php

 

Once you do that you want to copy and paste all of the code that you see.  This is critical because if something gets mixed up or deleted it could mess your entire site up and it would be very hard to know what got messed up as you can probably tell by looking at all the code.  You can just copy it on a notepad, word document, etc…  Whatever works best for you.  Another thing to keep in mind about the code is premium themes sometimes have more code than free themes.  So depending on the theme, you are using you might notice the code length differing.

 

We are looking for the footer copyright text in this code.  The footer copyright text is always going to be towards the end or bottom of the code.  So keep that in mind.  Make sure you know exactly what your copyright text says in the footer.  This will make it easier for you to find in the code.  You just want to find that text so we can edit the footer copyright text on your WordPress site.

 

edit-copyright-footer-text-wordpress

 

The image below will show you what the code looks like to edit the copyright footer text and yours will look similar however it will differ considering there are different themes to be used in WordPress.

 

 

Now that we have found the code.  Let’s go ahead and change the footer copyright text to say whatever you’d like it to say.  If you’re using one of the free themes provided by WordPress you are more than likely seeing a “Powered By WordPress in the footer text area.  If you’re using a premium theme or a free theme developed by a company outside of WordPress you might be seeing something similar to the theme name and by the company that developed that theme.  Just keep in mind this differs depending on the theme you have.

 

Go ahead and change the copyright text to whatever you would like it to say.  See below image if you need help figuring out where to change the text at.

 

change-copyright-text

 

edit-copyright-text

 

To put a link in the footer copyright text area see the below image, so you know where to change the link details at.

 

add-link-in-copyright-footer-text

 

Once you are completed with that, you are all set!  Make sure you save your changes and then go view your site.  You should see the copyright changes you’ve done displaying in the footer copyright text area.

 

copyright-footer-text-changed

 

Final Thoughts

We hope this article helped you and showed you how to change the footer copyright text in WordPress.

Let us know in the comments below if you were successful! We would love to hear from you.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

How To Disable Or Remove Comments In A WordPress Post Or Page

In this post, I’m going to be going over how to disable or remove comments in a WordPress post or page four different ways. I’ve also provided a video tutorial below that walks you through the process for all four methods step by step in just three minutes.

how-to-disable-or-remove-comments-in-a-wordpress-post-or-page

 

Video Tutorial: How To Disable Or Remove Comments In A WordPress Post Or Page

How To Turn OFF or DISABLE Comments From A WordPress Page | Quick & Easy

How To Disable Or Remove Comments In A WordPress Post or Page

The first way you can disable or remove comments in a WordPress post or WordPress page is very simple.  You will see the comments section towards the bottom of your post or page like I’ve displayed in the screenshot below.

 

how to disable and remove comments in a wordpress post or page

 

We want to head on over to the WordPress dashboard and find the WordPress post or WordPress page depending on where your comments are showing and click edit so we can edit the post or page.

 

edit-post-or-page

 

From here we want to scroll up towards the top of the post or page and click on screen options.

 

screen-options

 

You will see the discussion tab where you can click to add the check mark. Go ahead and check this tab as seen below.

 

posts-or-pages-screen-options

 

Now you want to scroll down towards the bottom of the post or page and find the discussion section.  Here you will see, allow comments that will be checked.  You want to go ahead and uncheck that so that the comments do not display any longer on your post or page.  Right under the allow comments you will see allow trackbacks or pingbacks on the post or page.  You might be wondering what does that mean? It is a notification system that WordPress uses to let you know if someone has linked to your article on another website.

 

disable-or-remove-comments

 

Once you have deselected the allow comments scroll up and click update.  Then click preview changes, and you will see that the comments section from your WordPress post or WordPress page has been successfully removed.

 

comments-disabled-and-removed

 

Way Two – Removing Or Disabling Comments In A WordPress Post or Page

The second way to disable and remove comments in a WordPress post or WordPress page is easy just like the first way.  We want to head on over to the WordPress dashboard and hover over posts or pages.  Go ahead and click on all posts or all pages depending on where you need the comments section removed from.  You will see quick edit under the post or page. Go ahead and click quick edit.

 

quick-edit-wordpress-dashboard

 

Scroll over to the right of the post or page, and you will see allow comments being selected.  Deselect that and click update.  Click on preview changes, and you will see the comments section on your post or page has been successfully removed.

 

unselect-to-disable-comments

 

Now you might be wondering, do I really have to disable and remove comments in a WordPress post or WordPress page individually like we have shown in the first two examples? Absolutely not! For some, this could be a very time-consuming process as there are sites with tens to hundreds of posts or pages. The below two methods will show you how to disable and remove all WordPress comments from your WordPress posts or WordPress pages quickly.

 

Way Three – How To Disable Or Remove All Comments In A WordPress Post Or Page

Head on over to the WordPress dashboard and hover over pages or posts and you want to click on all pages or posts depending on your needs.

 

 

From here you will see towards the top a tab named title.  Go ahead and select that to make changes to all the WordPress posts or WordPress pages.  Above title, you will see bulk actions.  Go ahead and click on that and change it to edit and then hit the apply button.

 

select-image-or-title-wordpress

 

You will now see over on the right-hand side of the page, allow comments.  You will see it is selected.  Go ahead and deselect it and click update and then go to preview changes and you will see the comments has been successfully disabled and removed in your WordPress post or page.

 

unselect-to-disable-comments

 

Way Four – How To Disable Or Remove Select Comments In A WordPress Post Or Page

Head on over to the WordPress dashboard and hover over pages or posts and you want to click on all pages or posts depending on your needs.

 

 

From here you will see where you can select individual posts or pages.  Select all the posts or pages you want to disable or remove comments for. Once completed you will see above the title tab, “bulk actions.”  Go ahead and click on that and change it to edit and then hit the apply button.

 

select-posts-or-pages-to-disable-comments

 

You will now see over on the right-hand side of the page, allow comments.  You will see it is selected.  Go ahead and deselect it and click update and then go to preview changes and you will see the comments have been successfully disabled and removed from your WordPress post or page.

 

unselect-to-disable-comments

 

Final Thoughts

We hope this article helped you and showed you how to disable or remove comments in a WordPress post or page.

Let us know in the comments below if you were successful! We would love to hear from you.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

How To Remove A Date From A WordPress Post | Quick & Easy

In this post, I’m going to be going over three different ways on how to remove a date from a WordPress post quick and easy.

I’ve also provided a video tutorial below that walks you through the process on how to remove a date from a WordPress post step by step in under two minutes.

 Pin Image To Pinterest

how-to-remove-a-date-from-a-wordpress-post

Reasons Why You’d Want To Remove Dates From WordPress Posts

Some common reasons you might want to remove dates from your WordPress posts is if post dates are not relevant to your audience, or you do not update your posts regularly. 

If your blog isn’t updated regularly, there is the scare between bloggers and companies that your audience might see the date the post was published and not want to read on because it is considered outdated.

If you don’t want to completely remove dates from your WordPress posts, you ought to read our post on how to backdate your WordPress posts.

Video Tutorial: How To Remove A Date From A WordPress Post

How To Remove A Date From A WordPress Post | Quick & Easy

How To Remove A Date From A WordPress Post With A Plugin

One of the easiest ways to remove a date from a WordPress post is by installing the plugin WP Meta and Date RemoverOnce you get the plugin installed and activated you want to click the Settings link next to the plugin on the plugins page. 

 

wp-meta-and-date-remover-settings

 

You then want to select the “plugin will not hide Metadata classes of Theme” like you see in the below screenshot and hit save changes. Congrats! That is all you have to do when using this plugin to remove dates from your WordPress posts or pages.

 

wp-meta-and-date-remover

How To Remove A Date From A WordPress Post In Your WordPress Dashboard

From a WordPress post or the WordPress blog page you will see the date listed under the post image and post title like the image provided below.

remove-a-date-from-a-wordpress-post

 

You want to head on over to the WordPress dashboard and hover over the settings tab and then click on the General tab.

 

wordpress-dashboard-settings-general

 

Scroll down towards the bottom of the General tab, and you will see date format. You will see the field custom. You want to select the custom bubble and remove any information showing in the field next to it.

 

wordpress-general-settings-date-format

 

Click the save changes button at the bottom of this page and then go back and review your post page, and you will no longer see the date.

 

Remove A Date From A WordPress Post With Code

Even if you’re a newbie at WordPress and might not know a lot about code removing a date in a WordPress post is easier than you might think. Head over to your WordPress dashboard. Find the appearance link over on the left and then click on editor. You want to add the following code to your theme’s functions.php file. You want to place it at the top of the file, just make sure it’s after the opening line<?php.

You want to make sure you have WordPress 3.0 or above before adding the below code.

function jl_remove_post_dates() {
	add_filter('the_date', '__return_false');
	add_filter('the_time', '__return_false');
	add_filter('the_modified_date', '__return_false');
} add_action('loop_start', 'jl_remove_post_dates');

 Check your site, and you should see that your posts dates have been removed. If they’re not, replace the code above with this code below, and it should remove the dates from your WordPress posts.

 

function jl_remove_post_dates() {
	add_filter('the_date', '__return_false');
	add_filter('the_time', '__return_false');
	add_filter('the_modified_date', '__return_false');
	add_filter('get_the_date', '__return_false');
	add_filter('get_the_time', '__return_false');
	add_filter('get_the_modified_date', '__return_false');
} add_action('loop_start', 'jl_remove_post_dates');

Final Thoughts

We hope this article helped you and showed you how to remove a date from a WordPress post or page.

Let us know in the comments below if you were successful! We would love to hear from you.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

© Copyright 2023 | WP Cupid Blog | 1504 Sundowner Drive, Saint Charles, MO, 63303