Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3981768
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:27:00+00:00 2026-05-20T05:27:00+00:00

Anyone familiar with WordPress shortcodes? I could really use a hand! I’ve inserted the

  • 0

Anyone familiar with WordPress shortcodes? I could really use a hand! I’ve inserted the following code into my functions.php file for the theme I’m using…

function create_slideshow_header($atts, $content = null){
    return '<div class="item_heading">'.$content.'</div>';
}
add_shortcode('slideshow_heading', 'create_slideshow_header');
function create_slideshow_white_header($atts, $content = null){
    return '<span id="dyn">'.$content.'</span>';
}
add_shortcode('slideshow_heading_white', 'create_slideshow_white_header');
function create_slideshow_content($atts, $content = null){
    return '<div class="item_content">'.$content.'</div>';
}
add_shortcode('slideshow_content', 'create_slideshow_content');

Now, I was led to believe by several tutorials that this should allow me to insert the following into the text editor in the WP backend…

[slideshow_heading]SLIDESHOW HEADER[/slideshow_heading]

…and the SLIDESHOW HEADER text would be wrapped in the appropriate HTML…. but it’s just displaying the above as regular text. I’ve cleared my cache, etc…

Is there something I’m doing wrong? Thanks in advance!

SOLUTION

I failed to mention that I was using the page.ly MultiEdit plugin–which uses “custom fields” to create extra editable regions. WordPress conveniently doesn’t parse shortcodes in custom fields. Normally, you can create a filter for each custom field, but since this is a plugin, you can just edit the multiedit.php file, and change line 63 from

echo $GLOBALS['multiEditDisplay'][$index][0];

to

echo apply_filters('the_content',$GLOBALS['multiEditDisplay'][$index][0]);

With a little work, you can turn WordPress into a truly amazing CMS!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T05:27:01+00:00Added an answer on May 20, 2026 at 5:27 am

    I actually checked out your code, it works for me. Your usage is right.

    Try adding a die() in there to see whether the method is called in your case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is anyone familiar with a tool that generates code stubs with meaningful names from
Is anyone familiar with Native Code in OS X Safari (Version 3 and WebKit)?
If anyone familiar with Rebecca Wirfs-Brock, she has a piece of Java code found
Anyone familiar with specific security issues in the current version of DotNetNuke? (I've already
Anyone familiar with error below? When I run my webapp to generate a dynamic
Question: Is anyone out there familiar enough with Komodo Edit to shed some light
Anyone who writes client-side JavaScript is familiar with the DOM - the tree structure
Like almost anyone who's been programming for a while, I'm familiar with the term
Anyone have a decent example, preferably practical/useful, they could post demonstrating the concept?
Anyone familiar with a way how can I can i write something to the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.