Have you tried using the do_shortcode()
function?
EDIT
I’m not familiar with the TweetMeme shortcode, but here’s an example usage for putting a NextGen Gallery directly into a template file:
echo do_shortcode( '[slideshow id="1" w="603" h="270"]' );
Simply replace with the appropriate shortcode (and parameters) for TweetMeme.
Codex ref: do_shortcode()
EDIT 2
With TweetMeme, you have another option:
- Change the Plugin “where” setting from “shortcode” to “manual”
- Place the
tweetmeme()
function in your Theme template file where you want to output the TweetMeme button.
Related Posts:
- Autogenerate wordpress shortcodes using array?
- Shortcode display outside the div
- Shortcode under a Shortcode Multiple times Possible?
- Trying to count the total number of paragraphs inside a blog article
- Prevent shortcode from being wrapped in tags
- Adding Shortcode to Text Widget
- Snippets: is it better to add them in functions.php or make site-specific plugins?
- creating html reusable blocks via shortcodes
- Nested shortcode functions accessing variable
- Calling an attribute from a plugin shortcode
- Redirect to another page using contact form 7? [closed]
- What is @Action in WordPress?
- Return multiple values in a shortcode attribute
- Shortcode Attributes to Return different $_POST
- strange shortcode error: does shortcodes requires any dependency?
- Add the_post_thumbnail_url to a shortcode in function.php
- Adding a Tag Parameter / Filter to My Shortcode
- grab or load text on demand
- Elementor Pro display featured image on section -> style -> image using shortcode
- How to get current cart values using WC_Shortcodes?
- Get Shortcode output to database for static post_content
- Find all strings between an enclosing shortcode
- wordpress Shortocode running twice?
- Posting code inside the post instead of in the template file using shortcode
- Integrate Razorpay quick payments plugin with contact form7 plugin
- Shortcode cannot parse attributes within double quotes. ” is becoming ” breaking my shortcode
- How to export comments in WordPress?
- How can I call a function from one plugin within another plugin?
- Gutenberg disallow certain custom blocks but keep all core blocks?
- Publish author posts only with editor approval?
- enqueue script only if it is not already enqueue
- WP showing “warning: call_user_func_array()”, What to do?
- Declare a function before plugin does on the theme functions.php file
- Generate Advanced Custom Fields box in custom admin menu page
- change plugin shortcode function [closed]
- Use functionality of 2 wordpress plugins
- How can i change an image’s author?
- Set WordPress Featured Image For All Post Slugs Matching Image File Name in Specified Directory
- Showing Co-Authors on post page
- jQuery Plugin to use WordPress functions in AJAX request
- Shortcode doesn’t work if I directly paste its function in a template file?
- Debugging Technique Question re: functions.php
- WP Job Manager Category Drop-down; Change Placeholder Text Via Filter
- Custom Taxonomy Tag Search
- Missing argument 3 for wp_register_sidebar_widget()
- Pass variable to nested shortcode
- Add custom variable in Contact Form 7 mail body
- get shortcode value
- WordPress Plugin Page is Loading in Admin Content Container Instead of Separate Page
- Storing Options in a Shortcode
- Shortcode button dosent work for all posts. Work for first post only
- Is there a way I can find wordpress posts that don’t contain a word?
- Plugin Handle URL With Custom Theme
- Shortcode Plugin to dynamically build a shortcode via `do_shortcode` not working
- All sites themes functions.php have been changed
- Grab WordPress Salt Data From URL
- Inject HTML meta tag inside wordpress tag using add_shortcode
- My plugin won’t return anything [closed]
- Plugin is a widget, but I want to call it in the head, can I?
- Shortcode to update user meta
- Deactivate JS Script in Plugin Shortcode
- Shortcode not working after move wordpress website files
- Help with WP Business Directory Manager Plugin?
- Plugin that provides the [edit] shortcode?
- get specific value of a array | PHP
- How to change shortcode’s default theme?
- Loading a plugin’s js file from functions.php
- Is there a way to convert shortcodes to html content?
- Loop returns the current page’s permalink and guid instead of the post in the loop
- How to access OOP plugin function inside themes or other plugin
- Different registration form for different roles
- Create a pdf from the entries in DB
- RSS feeds for specific topics
- add_rewrite_rule to load different page, without changing URL in browser
- Overriding a function in a WordPress plugin
- Shortcode show error while editing post
- Precheck fields when I add a new post
- Issue Saving Posts That Contain Shortcode
- Use buddypress function outside of plugin
- WPML – Hook when language is switched (change user language)
- Use action, filter, or hook to append HTML to WordPress plugin function
- How to use plugin’s shortcode in custom design? [closed]
- Change custom rewrite rule when permalink is updated/changed
- Save Post Permalink In .txt File
- WP Plugin CSS not being applied to page
- How To Add Code To WP Without Plugin or Functions
- Home page letters
- Multiple calling javascript from shortcode in one page
- Is there a function to search for a wildcard value when calling a shortcode?
- Multiple level shortcodes
- How to load a plugin when doing an Ajax call? [duplicate]
- Is it right way to create shortcode?
- Trying to override/intercept a PhotoMosaic gallery link in WordPress using jQuery
- Trying to output a “Most visited blogs” list in wordpress multisite
- Creating Features List in WordPress Post
- wordpress Search function is not working
- I am experiencing difficulty fulfilling client request
- PHP Creating a formula from mysql db values and db stored math operator
- Option value not getting updated until page refresh in WordPress
- WordPress Custom Page Blog Template Pagination Problem (Pagination Not Displaying)