Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

I would like to see the actual code for the shortcode's

by

Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › I would like to see the actual code for the shortcode's

  • This topic has 4 replies, 3 voices, and was last updated 7 years, 11 months ago by csceasyest.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 21, 2017 at 12:36 am #14284
    csceasyest
    Member

    I would like to see the actual code for the shortcode’s for WP Lightbox Ultimate so I can code item in the pages without using the shortcode

    Thank you, Ron

    July 21, 2017 at 1:09 am #76083
    wzp
    Moderator

    If that’s all you want to do; there is the do_shortcode() function:

    https://developer.wordpress.org/reference/functions/do_shortcode/

    Using do_shortcode() is less error prone than trying to dig into the plugin code.

    July 21, 2017 at 1:59 am #76084
    csceasyest
    Member

    This is not at all what I ask – I guess I did not make clear –

    WP Lightbox Ultimate has several shortcode in a drop down list, I would like to see each line of code that made up each of those shortcodes. I need to be able hand code in html some of them because the theme I mm using does not display the text links visually correct.

    Thank you, Ron

    P.S. thank you also for your fast responce to my original question.

    July 21, 2017 at 2:24 am #76085
    admin
    Keymaster

    Thats not how shortcodes work. The code is rendered dynamically on the front-end when that shortcode is being executed. Whatever you are trying to do is not a standard practice for WP Shortcodes. You are suppose to use the shortcodes in the WordPress’s post/page editor or sidebar. You can also call a PHP function if you want to use it from your theme’s template file.

    You could potentially do the following to get what you are after:

    1) Create a test page then put a shortcode in there (nothing but the shortcode)

    2) Then view the page from the front-end.

    3) Using HTML code inspection (web developer tool), you can view the HTML source and copy the code from there.

    July 21, 2017 at 2:49 am #76086
    csceasyest
    Member

    Thank you, that will work…

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ