For Five Star Rating, the FAQ tells me you can leave out the shortcode from your articles (you added these to each article?), and then use echo five_star_rating_func('star')
somewhere in your template. So this is a nice example of a plugin that offers both options.
For Simple Social, you need to disable the regular hook to the_content
, and then call the function yourself. That could be done with the following code, which you can place in your theme’s functions.php
(or at the top of your single.php
, if you only want it gone on single pages):
remove_filter('the_content', 'simple_social');
Then, to display it again where you want it, you call simple_social()
with an empty content string (be sure to do this in The Loop, since it relies on the global $post
variable):
echo simple_social('');
Related Posts:
- Moving FB comments at the end of page
- What are the package and subpackage comment for?
- Shared functionality in plugins and themes
- Experiences with adding Nonces to the comment form
- Plugin (or Theme) containing its own Plugins?
- How to enable edit button in the theme’s customize UI?
- Custom comment type maybe?
- Themes VS Plugins [duplicate]
- adding a text message beside the comment submit button
- Akismet plugin is deleting spam despite preferences
- Recommendations for books/resource to get started with wordpress 3 development (plugins/themes) [closed]
- Leveraging WordPress Comments on Custom Plugin Object page
- ‘Customize’ button in admin bar for CSS
- Is it possible to use WordPress as an online portfolio for text content? What kind of theme would I look for?
- Send reply with pre-prepared answers
- posts comments goes to trash
- Custom wordpress Theme and Plugin repository
- “No Add Button” for me to customize my WordPress with themes and pluggins
- Basic gallery plugin suggestion [closed]
- How to handle a WordPress blog with articles in different languages?
- display unique post per category
- Mobilepress fails to translate short codes
- How to prevent plugin, theme installation failures on WordPress?
- How Can I Increase Breadcrumb Position Count (Starting From 2)?
- How to fix slow comment query?
- How can I save cookies to members
- Why the output of an image gallery plugin is not displayed into a page of my custom theme?
- Need Help Creating a Multi-Step, Video-Guided Enrollment Site
- Issues with Post 2 Post Plugin
- How to fix vanilla comments extra iframe space
- How can I modify the colors of my theme for a single section of my site? [closed]
- do_shortcodes() isn’t working
- Why nested REPLY not working in WP Comments?
- Overwrite add_image_size defined by theme
- same user role or copy the user role to be same as the other role
- Renaming Custom Taxonomy Values
- Action on WordPress Install
- I want to use wordpress themes and plugin to develop website
- Don’t load the theme for a page FROM a plugin EDITED
- Extending a theme: build new features as plugin or core modules?
- Blocking Plugin Css to load custom in template directory
- Cannot add edit themes and add plugins after multisite update
- Detect plugin/theme installation (via upload)
- Load CSS files in header of Bones theme?
- How to check homepage contain blog post?
- how to design change in woocommerce cart page and all other page also by theme? [closed]
- is there a way to pass a parameter to a add_menu_page function?
- Is it possible for a plugin to prevent certain plugins from being installed?
- Add a “default sorting” menu to child store pages
- How can i summerize posts or news automatically in word press site?
- How to display a widget on a page with no theme?
- Add a Custom Field in Comment Box next to the Text area
- How do you create a re-useable HTML fragment in wordpress
- Error: Can´t access facebook comment plugin admin page
- plugin inside a wordpress theme
- Separate jQuery for Individual Comments?
- Remove updates text on plugin or themes list page
- Want to modify a Plugin – Tweetily – Can I make it tweet a Custom Field instead of Post Title?
- Delete data from custom table when deleting a post
- Widget where it can make changes to the container
- Plugin code will not work properly inside a class [closed]
- wp_mail – using a custom field value
- WP e-Commerce Gold Cart with Plugin Built Into Theme
- Call javascript functions from each page
- Can’t create new CPTs when menu hidden
- Integrating Custom Database with WordPress
- navigation among single posts
- Pull comments from one page/post into another page/post?
- Edit page header on a custom plugin
- Is there a Image Gallery which will load all my posted Images like twitter’s image grid?
- After a manual update, themes and plugins that were installed (and still in the directory) are not being seen
- Per theme plugins?
- Identify current wordpress theme
- How display specific category post to specific users?
- Engadget Like most commented plugins
- Does anyone know what’s the plugin for this Comment Section?
- Custom Module, Extending WP with a Plugin?
- Gathering all Custom Post Type posts in to array/object the proper way
- What is the best way to make a custom page from a plugin?
- Link Posts to External URL
- Multiple Post Thumbnails Plugin – Need help with code
- How to display an alert when deleting a plugin?
- How can I replace content on site generated from plugin without changing plugin
- Share plugins, themes, and multi post in a multidomain network
- Removing the custom_image_header from wp_head
- Rename Smart YouTube’s httpv back to http for all posts
- How to fix these PHP Warnings with the “Feed JSON” plug-in?
- Gantry Framework: new page loads homepage content instead of page content
- WordPress FLIR (Facelift Image Replacement) plugin clipping off end of text
- unregister a sidebar widget
- Custom content plugin for front page in wordpress
- Upgrade not working & themes not supporting
- How to disable Wp-PageNavi at the top of the page
- Custom Post Type, Custom Columns List
- What is the most efficient way of adding additional functionaliy for admin only
- 404 errors when updating options in admin dashboard
- How do I work with the SlideDeck plug-in?
- Download counter for skydrive shared files in wordpress
- Edit post image attributes on fly?
- Plugin Admin panel checkbox unchecked after submit