I think you need something
is_page()
to output the page content:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
further reading about shortcodes
http://wp.smashingmagazine.com/2012/05/01/wordpress-shortcodes-complete-guide/
Related Posts:
- OEmbed from Pinterest
- Any way to use a custom Parameter for youtube embed without using an iframe?
- How to embed .mp4 videos in a WordPress post?
- Embed PDF into wordpress
- Is there existing plugins to “Click-to-Launch” embedded Flash / SWF content?
- Rename Smart YouTube’s httpv back to http for all posts
- How to convert a plugin into a function
- Disable “auto embed” feature when pasting text and links
- How to use a shortcode or an application to dynamically embed content from one WordPress site to another?
- Javascript embedded disappears for editors
- SWF in wordpress post
- Can someone please help me find a solution to my youtube embed problems? [duplicate]
- Disable auto-embed feature when pasting links in Gutenberg editor?
- Remove embed url for internal links
- WooCommerce store with ~30,000 products [closed]
- Using require_once in a Plugin?
- Being notified when some YouTube video in some post becomes unavailable
- How to call “page specific menu items” in template [closed]
- plugin wants to update to wrong plugin
- How to add terms to a post depending on its title?
- Plugin.php: PHP Notice: Undefined offset: 0 in
- Where do I add a new table’s name in wpdb?
- How can i add a submenu to a custom menu of another plugin?
- Is there an action that is called when a post is restored from the trash?
- WP Mail SMTP: What do the SSL/TLS options mean? [closed]
- Accessing plugin functionality within WP REST API
- How to create popup same as wordpress popup feature
- Moving WordPress from host without FTP?
- custom plugin – custom post type -Selectable options for User
- Multiple navigation menus to a location?
- How to customize user search
- Security issues with WP sites
- Add get_option to jquery
- Making my plugin translation ready. Poedit not working
- Network: retrieve a list of latest posts
- How to Know if a Plugin can be used with my Theme [closed]
- WooCommerce get_price returning wrong price when used via ajax
- Not able to open category post [closed]
- Using custom JS plugins with WordPress?
- WordPress on AWS with ELB
- Add javascript to wp_head with call to plugin options?
- Use wordpress functions in another PHP file
- Using a function to change favorites listing
- custom user tables supported in SharDB plugin?
- Problem using Press-this book marklet
- Best place for if/else piece of code related to custom plugin?
- How do you assign a UUID to posts/products/comments/reviews?
- Reoccurring 404 Errors on all subpages
- password_reset hook is not working
- Problems With WP Bannarize Plugin [closed]
- How to create a child/addon plugin
- How to secure the release of WordPress plugins / avoid copying plugins?
- What happens if I don’t update my plugins?
- Delay JavaScript files from loading
- WordPress Users authentication with Java Application
- remove_action not removing add_action from constructor
- Is there a way to make the main page only display a brief description of the full article?
- Limit WP code scope into plugin
- WordPress custom plugin that uses woocommerce enabled payment gateway for payment [closed]
- Execute a function when the entire page is displayed
- Is there any way to inject text onto pages?
- Plugin that lets visitors Like a post (not facebook) and stores likes in custom meta?
- Cannot read properties of undefined (reading ‘firstChild’) using photoswipe in product page
- Multisite Change from domain.com to sub.newdomain.com
- Find Plugin by file name
- Creating an admin button that when clicked shows a popup form
- How to list datas from database in a topic?
- How to hide an option from dropdown in filter module
- Downloading a file
- Profiling the initial PHP file, anyone, that get like 10 seconds to load
- How use wp_insert_post and add og:custom tags?
- Remove Keywords From Webpage But Still Use for SEO
- How to change “Read More” text?
- How to use wp_editor and save its data in wp_posts table
- WordPress database problem wp_posts, primary key
- Auto trigger of popup
- WordPress Plugin PHP Not Calling Function
- how to show the tables of my plugin in the export tab of WordPress?
- how do i fixe Page Builder on a custom page?
- WordPress ajax error 400 bad request for sending data to remote site [duplicate]
- Do_shortcode before send email content
- wp_enqueue_scrpts seems not to get called
- How to Create Custom Dashboard for my Laundry Website?
- Warning: Illegal offset type in /var/www/html/wp-includes/option.php on line 1924
- Get plugin to background of page
- What is a good way to test that plugin upgrades have completed properly?
- get post excerpt by query
- Advanced Custom Fields (ACF) Plugin – Random Image in Sidebar
- Include paths and functions for external scripts
- Remove the ‘Press This’ Tool
- Looking for a related post plugin which slides-in like the one at inc.com does [closed]
- which is this plugin ? [closed]
- Woocommerce Product Add-ons – Auto-select first option
- Sync roles across several plugins
- How to write a specific url for only single page in wordpress?
- Identifying Plugins Based on Tables [closed]
- How to Allow Users to Select Recipients In a WordPress Comment section?
- WooCommerce REST API aborts connection [closed]
- How to write a plugin that “listens” every time, an edit occurs?
- Product customizing quiz – quiz adding products to the cart