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 8232567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:52:34+00:00 2026-06-07T17:52:34+00:00

I just noticed when I was trying to print on the page how to

  • 0

I just noticed when I was trying to print on the page how to execute a certain shortcode, that the shortcode is executed even within the < code > tags.

I am trying to get it to where I can display EVERYTHING inside the code tags and not have wordpress do anything to it, ie:

<code>[shortcode]</code>

Exactly as you see the above line here on stackoverflow, I want it to display on my wordpress blog, even if [shortcode] is a shortcode (do not execute shortcodes).

I tried using strip_shortcodes() http://codex.wordpress.org/Function_Reference/strip_shortcodes

However, this actually takes the entire text out of the content, not just prevents it from being executed.

Any idea how to do this?

  • 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-06-07T17:52:36+00:00Added an answer on June 7, 2026 at 5:52 pm

    I just found the answer and I thought instead of deleting my question I would answer it myself. I have been working with WordPress for years and have never heard of this issue.

    To get wordpress to display shortcodes and not execute them, you must use double brackets, ie:

    [[shortcode]]
    

    WordPress will display it in single brackets, unexecuted.

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

Sidebar

Related Questions

I've just recently begun to use markdown and have noticed that any markdown within
I just noticed that moving the mouse cursor across a tooltip does not seem
I just noticed that java.beans.Introspector getBeanInfo does not pickup any superinterface's properties. Example: public
I just noticed that say http://s7.addthis.com/js/250/addthis_widget.js#pub=PUBID does the equivalent of http://s7.addthis.com/js/250/addthis_widget.js?pub=fct-250 but is much
I just noticed that for vector push_back it is push back a reference to
I just noticed that if I have an identity column in a table, when
While trying to paste images, I noticed that Cases[] is very slow. To reproduce,
So I just created an application that does page scraping for me, and ran
I'm trying to use XSLTs (in Javascript) to pretty-print an XHTML doc that has
I am trying to get information on the likes of the page, since I

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.