buffalokill
Forum Replies Created
-
Thanks Guys!
I added this to my functions.php file
function ttpidurl() { global $post; $post_id = $post->ID; $url = get_settings('home') .'/?p='. $post_id; return $url; } add_filter('tweet_blog_post_url', 'ttpidurl');
And modified the twitter-tools.php file on line 489 as suggested above, and it has worked fine.
Forum: Plugins
In reply to: [Plugin: GD Star Rating] Disable auto-insert<?php wp_gdsr_render_article() ?>
—————
Page 12 of the user manual.
Using manual functions Automatic rendering is controlled by plugin. But in many cases you might need to do things ‘your own way’. For this I have created few functions, and more will come.
Render Article: wp_gdsr_render_article()
This method will display rendering stars for post or page. This must be used in a post loop or will not work. This is the same as using STARRATER shortcode.
Render Article: wp_gdsr_render_comment()
This method will display rendering stars for comment. This must be used in a comment loop or will not work. This is the same as using STARRATERCOMMENT shortcode.
Render Review Rating: wp_gdsr_render_review()
This method will render stars for post review rating. This is the same as using STARREVIEW shortcode.
Render Widget: wp_gdsr_render_widget($widget)
This method will render widget like content. This method requires a number of parameters. If no parameters are passed, then the default widget parameters will be used. Parameters are in the form of
array.For rendering items you can specify exact template you want to use for header of the widget, each item and footer. Template strings can be HTML encoded or not. For this use, I recommend decoded HTML strings. Template can contain specific strings that will be replaced with actual values (hence the template). List of all supported template strings can be found in the next chapter.
Forum: Plugins
In reply to: [Plugin: BuddyPress Template Pack] Error !I also received this error on step 3 of the compatibility setup. And I’m also on a Single User.
Forum: Plugins
In reply to: Reference Full Size ImageAny suggestions on which file I should be looking in to find this functionality?
Forum: Plugins
In reply to: Dynamic Content in Non WP fileTo answer this question for anyone else. You just need to place this code on top of the file that you want to initiate the wordpress system.
<?php require('../../../../wp-blog-header.php'); ?>
Or this may work as well…
<?php require(ABSPATH . '/wp-blog-header.php'); ?>
Forum: Plugins
In reply to: DropDown menu for WPJust grab one from a free theme. Here is a pure CSS version in this hunter theme.
https://frontierwebdesign.com/hunter-theme/download/
Copy the php call to list the pages, and the css thats used to display it.