How to add Ads using WpCode Snippets plugin

How to add Ads using WpCode Snippets plugin

Are you looking for a way to display ads on your site using a plugin? In this article, I will show you how to add Ads using WpCode snippets plugin.

The WpCode snippets plugin comes with numerous features that make it super easy to manage codes in your WordPress website. This helps to reduce the number of plugins on your site improving your site’s speeds.

You can use the plugin to add as many Ads units as possible on different locations on your site.

Related: How to fix Ads display issues using WpCode snippets

How to insert Ads using WpCode snippets plugin

1). Add a new snippet

How to insert Ads using WpCode snippets plugin

Once you have installed the plugin, navigate to your WordPress dashboard menu, under ‘Code Snippets, click ‘Add Snippet’, then choose the first option to ‘Add your custom code’.

2). Add your ads script

On the next tab, you will need to add your ads code, give it a title, and make sure to choose the code type; either HTML for ads, or JavaScript and CSS for others.

3). Choose the insertion method

There are two options to choose from; auto insert or the use of a short code. If you choose the auto-insert method, the code will automatically be executed site wide on the specific location you have chosen. This is the best way to display ads on your blog pages.

4). Choose Ads location on your website

Next, you will need to choose a location on your web pages where the code will be added. If you want it to be displayed on the header of every page, then go to Global > Site Wide Header.

To display ads in specific locations on your blog posts e.g. after a paragraph, go to Page-Specific > Insert After Paragraph. Then chose which paragraph number you want to display after.

5). Choose the device type

If you are interested in displaying your ads on all devices, which is recommended, then select the first option.

6). Enable smart conditional logic

The smart conditional logic aids in limiting where you want your ads snippets to be auto-inserted.

For example, if you only want to display your ads on blog pages, then, on the ‘conditions setting‘ choose hide, and click on the ‘Add new group button’.

On the first box click to change to ‘Post Type’ and on the third box click to change to ‘Pages’.

7). Priority setting

Here you can change the priority of code snippets to determine when they will be executed. For the first two ad codes, you can set the priority to 5, and leave the rest as default. This way the first ads will be displayed earlier when the page is loading.

8). Add Tags

This will help you to group similar codes for easy management. This may not be necessary if you don’t have many codes.

9). Activate and save the code

Once you are done with all the above steps, don’t forget to activate the code and save it. The ‘Activate’ button is at the top of the page next to the ‘Save button’.

10). Test your website

You can now test to see whether the ads are displaying correctly in each location. If you encounter any issues, you can read this article on how you can fix common Ads display issues on the WpCode Snippets plugin.

Disclosure: We may earn commission for purchases that are made by visitors on this site at no additional cost on your end. All information is for educational purposes and is not intended for financial advice. Read our affiliate disclosure.

Share this:

Similar Posts

  • 8 Best Christian affiliate programs for Christian bloggers

    Are you looking for the best Christian affiliate programs to promote as a Christian blogger? If your Christian blog is receiving good web traffic you can choose to make a stable passive affiliate revenue from it. Affiliate programs pay you on a commission basis. Ads should always be the last resort when thinking of blog…

  • 6 Best Christian advertising networks

    Are you considering monetizing your Christian blog and you are wondering which are the best Christian advertising networks for Christian bloggers to consider? The many ways to monetize a Christian blog, choose what is suitable for your audience. Each Christian advertising network is different and has specific requirements to get approved to work with. It…

  • Does Canva have an affiliate program? | Canva Review

    Does Canva have an affiliate program? Yes, Canva does have an affiliate program. Canva is a popular graphic design platform that allows users to create professional-quality designs using pre-designed templates and tools. As an affiliate, you can earn commission by promoting Canva’s design tools and products on your website or social media channels. Related: 12…

  • How to insert AdSterra Ads using a plugin

    Are you looking for a way to add AdSterra Ads using a plugin? Look no further, I will explain step by step How to insert AdSterra ads using a plugin. There are many free plugins on the WordPress repository that can help you display Ads on your website. My favorite of all is WpCode Snippets…

  • Dreamhost affiliate program review

    Are you interested in earning some extra income by promoting Dreamhost, a leading web hosting company? If so, you might be wondering how much you can earn through the Dreamhost affiliate program and if it is worth joining. How much does Dreamhost affiliate pay? Hosting Plan Commission for annual Plan Commission for Monthly Plan Shared…

Leave a Reply

Your email address will not be published. Required fields are marked *