• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How can I create includes for posts?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › How can I create includes for posts?

This topic is: not resolved

Tagged: includes, parallax-pro

  • This topic has 8 replies, 3 voices, and was last updated 10 years, 2 months ago by mariafernandez.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • April 9, 2015 at 11:04 am #147227
    mariafernandez
    Member

    Hi,

    I'd like to do the following on my posts:

    After the post text and before the author box and comment section, I'd like to add a banner with links to my lead magnet, or a link to my products, or a link to an affiliate.

    Is there a way I can add one of these three elements through an include, rather than having to have the same piece of code on every blog post?

    Thanks.

    Maria

    April 9, 2015 at 1:44 pm #147239
    Pixel Frau
    Member

    If your theme doesn't have the After Entry widget area, you should be able to enable it by adding the following to functions.php:

    add_theme_support( 'genesis-after-entry-widget-area' );

    You can use Jetpack's widget visibility feature, or another widget visibility plugin, to control which widgets appear on which posts/categories.

    April 10, 2015 at 4:03 am #147290
    mariafernandez
    Member

    Unfortunately, adding that code to functions.php doesn't do anything at all. No area for adding an include appears on my posts' edit area.

    I still can't add an include of my choice at the bottom of my posts.

    Surely there must be a way of adding includes to posts. Does anyone know how?

    Thanks.

    Maria

    April 10, 2015 at 4:55 am #147291
    frenkod
    Member

    Idk ;c

    wiertarkofrezarki

    April 10, 2015 at 11:15 am #147356
    Pixel Frau
    Member

    Maria, what theme are you using? You didn't mention it in your original post.

    Additionally, this is for an After Entry widget area. It appears in Appearance > Widgets NOT in your post editor.

    April 10, 2015 at 11:33 am #147361
    mariafernandez
    Member

    I included the them in the tags. It's Parallax Pro

    Yes, I've seen the widget in the widget area. I realise now that what I need is probably too complex for this forum.

    April 10, 2015 at 12:34 pm #147372
    Pixel Frau
    Member

    You can easily achieve what you asked with the After Entry widget + widget visibility.

    April 10, 2015 at 12:51 pm #147377
    Pixel Frau
    Member

    You might also want to look at the Advanced Custom Fields plugin.

    April 11, 2015 at 5:57 am #147467
    mariafernandez
    Member

    Thanks.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble