DesignMe Creative Group

207.776.5416 • MAINE & ARIZONA

fb pintrest rssicon
  • Home
  • Services
    • Websites & Social Media
    • Marketing & E-Newsletters
    • Logos & Print
    • Training & Support
  • Portfolio
    • Website Design
    • Creative Design & Branding
    • Social Media & E-Marketing
  • The Team
  • Why DesignMe?
    • Our Philosophy
    • Affordable Prices
    • Getting Started
  • Blog
  • Payment
  • Contact

March 9, 2021 By Debbie Leave a Comment

Insert Soliloquy Shortcode Using Advanced Custom Fields

DesignMe has many clients that want to self-maintain their website. So our development process keeps that in mind by making edits/additions as easy as possible. One way is to use Advanced Custom Fields to place a single line of text that can then be put into a shortcode to create a custom slider.

This particular client wanted a slideshow at the top of their single Custom Post Type pages. So, I created an ACF text field that allowed user to enter soliloquy slide #. I then incorporated that shortcode into the appropriate page template like this:

add_action( 'genesis_entry_content', 'add_project_info', 1 );

function add_project_info() {

$client = get_field('client');
$slider = do_shortcode( '' );

echo '<div class="project-slider">' . $slider . '</div>';
echo '<div class="projectdetails"><p><strong>Client: </strong> ' . $client . '<br>';
}

Need help with a custom website? Give us a jingle!

Filed Under: Small Business, TechTalk

Leave a Reply Cancel reply

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

Site Search

From Our Blog

  • 10 Reasons You Need a Custom Website
  • The Squatty Dog
  • The “ME” In Our Name Really Means YOU
  • Behind Your Website
  • I Have a Website – Now What?

Tech Talk

  • Enqueue CSS2 Google Fonts
  • Redirect to the BuddyPress Profile Page
  • “Going Live”
  • Insert Soliloquy Shortcode Using Advanced Custom Fields
  • Redirect My Website To https://

Creative Corner

  • Unique Websites Deserve a Unique Login
  • Adding A Shortcode To The Post Title
  • Favicons – A Tiny Graphic With Big Impact
  • Social Media Icons – So Many Options!
  • Savage Chicken iMugs

View Topics

creative

Functional

affordable

Copyright © 2025 · Custom Website by DesignMe Creative Group · Log in
Hosted Locally by Maine Hosting Solutions