GuidePlugin LogoGuidePlugin Docs

Show Guide on Specific Page

Learn how to display your GuidePlugin guides on any page using shortcodes.

GuidePlugin offers the ability to place a guide anywhere on your page using a simple shortcode. This tutorial shows you how to display your created guides on specific pages.

Shortcode Overview

MethodCodeUse Case
Basic Shortcode[guideplugin_guide id="24"]Display guide on any page
Page EditorInsert via WordPress editorQuick page embedding
Template CodePHP integrationTheme-level implementation

Displaying Your Guide

Find Your Guide ID

First, you need to identify the ID of the guide you want to display:

  1. Go to GuidePlugin > Guides in WordPress admin
  2. Find your guide in the list
  3. Note the ID number (displayed in the guide list)

Use the Shortcode

The shortcode format is:

[guideplugin_guide id="{guide_id}"]

Replace {guide_id} with your actual guide ID. For example:

[guideplugin_guide id="24"]

Add to Your Page

Place the shortcode in any of these locations:

WordPress Editor:

  • Add to page content where you want the guide to appear
  • Works in posts, pages, and custom post types
  • Compatible with both Classic and Block editors

Widget Areas:

  • Add to sidebars or footer areas
  • Use text widget to insert shortcode

Shortcode Implementation

Basic Usage

The most common implementation is placing the shortcode directly in your page content:

LocationMethodCode
Page ContentDirect insertion[guideplugin_guide id="24"]
Post ContentDirect insertion[guideplugin_guide id="24"]
Text WidgetWidget content[guideplugin_guide id="24"]

WordPress Editor Integration

Classic Editor:

  1. Edit your page/post
  2. Position cursor where guide should appear
  3. Type or paste the shortcode
  4. Save/update the page

Block Editor (Gutenberg):

  1. Add a "Shortcode" block
  2. Enter your guideplugin_guide shortcode
  3. Preview to verify appearance
  4. Publish/update the page

Shortcode Processing: WordPress automatically processes the shortcode when the page loads, replacing it with your complete guide interface.

Finding Guide IDs

MethodLocationSteps
Admin ListGuidePlugin > GuidesID shown in guide list table
Edit PageIndividual guide settingsID visible in URL or page title
DatabaseWordPress admin areaCheck guide management interface

Placement Best Practices

Page TypeRecommended PlacementWhy
Landing PagesAbove the fold, centeredMaximum visibility and engagement
Product PagesBelow main descriptionContextual filtering for related items
Category PagesTop of content areaHelp users narrow down selections
Dedicated Filter PagesMain content areaPrimary page purpose

Common Implementation Examples

Product Finder Page

<h1>Find Your Perfect Product</h1>
<p>Use our guide to find exactly what you're looking for:</p>

[guideplugin_guide id="15"]

<p>Still have questions? Contact our support team.</p>
<h2>Property Search</h2>
<p>Filter properties by your preferences:</p>

[guideplugin_guide id="8"]

Service Selection

<h1>Choose the Right Service</h1>
<p>Answer a few questions to find the perfect service package:</p>

[guideplugin_guide id="12"]

Troubleshooting Display Issues

ProblemSymptomsSolutions
Guide Not ShowingShortcode appears as textVerify guide ID is correct
Check guide is published
Ensure plugin is active
Incorrect GuideWrong guide displaysDouble-check guide ID number
Verify ID matches intended guide
Styling IssuesGuide appears but looks wrongCheck theme compatibility
Review page layout settings
Consider design adjustments

Advanced Integration

For developers integrating guides into themes:

// Display guide programmatically
echo do_shortcode('[guideplugin_guide id="24"]');
// Conditional guide display
if (is_page('products')) {
    echo do_shortcode('[guideplugin_guide id="15"]');
}

Testing: Always preview your page after adding the shortcode to ensure the guide displays correctly and fits well with your page layout.

Next Steps

Once your guide is displaying on your page:

ActionPurposeReference
Test User ExperienceVerify guide works as expectedGetting Started →
Customize AppearanceMatch your site designDesigns Documentation →
Monitor PerformanceEnsure fast loadingIndexing Guide →