• Skip to primary navigation
  • Skip to main content
  • Skip to footer

+353 85 143 1915

shane@shanedalydigital.com

Louisburgh, Co Mayo

  • Email
  • Facebook
  • Phone
  • Twitter
Shane Daly Digital

Shane Daly Digital

Web Development|Digital Marketing|Louisburgh Mayo

  • About
  • Services
  • Portfolio
  • Blog
  • Website Questionnaire
Contact Us

Automatically Insert Default Content into Posts on Genesis

You are here: Home / Blog / Genesis / Automatically Insert Default Content into Posts on Genesis

June 11, 2019 by shanedaly

Occasionally, you may wish to add default content into your posts. There may be a number of reasons why you might want to do this. For example you may have a disclaimer that you use at the beginning or the end of each post and you’ve grown tired of copy and pasting it every time you want to publish a new post.

Instead you can add a small function into your functions.php file that will automatically insert whatever content you choose into your post when you click the ‘New Post’ button.

Simply open up your functions.php and add this to the bottom:

This will add the following text into your posts :

This is a really easy tutorial

You should try this out!

With a little tweaking you can alter the code to work with a custom post type or have different content populate automatically for different post types.

You could keep it simple and just insert text or you could get fancy and insert links to other relevant posts

Category iconGenesis Tag iconcontent,  genesis,  tutorial

Previous Post: « Use Akismet with Contact Form 7 to reduce spam
Next Post: Summer Sale »
Ready to start your project?

Don't wait until tomorrow, Get started today!



Footer

Shane Daly Digital

Fully responsive web design with headquarters in Louisburgh, Co Mayo

Get a professionally designed website to build trust in your customers.

+353 85 1431915

shane@shanedalydigital.com

Louisburgh, Co Mayo

Popular Pages

  • About Me
  • Portfolio
  • Services

Useful Links

  • Privacy Policy
  • Website Questionnaire
  • Contact Form
  • Email
  • Facebook
  • Phone
  • Twitter
Copyright © 2019 Shane Daly Digital, Louisburgh, Co Mayo. All rights reserved. Return to top
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more