Shortcode and Function query (force url) | Tweet Like Plusone and Share Plugin | Plugin Support Forum


The forum is not available on mobile. To view the forum please visit http://techxt.com/plugin-support-forum using a Desktop.

Please consider registering
guest

Log In Members

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
Shortcode and Function query (force url)
January 21, 2013
4:01 pm
Henry
Guest
1
Awaiting Moderation

February 19, 2012
9:49 pm
Karim
Guest

Hi I'm trying to use the php code in my default.php (homepage) to display the buttons.

However, my wordpress theme/wordpress itself keeps using the url of the most recent blog post, how can i force the php code to inject the homepage of my website instead.

 

I'm using the php code from this page

http://letusbuzz.com/tweet-sha…..e-plusone/

 

Thanks

February 19, 2012
10:15 pm
Karim
Guest

never mind, i just copied the code from a blog post and inserted it into html format.. Better for my page speed as there is less php processing going on…

February 20, 2012
10:00 am
Admin
Forum Posts: 512
Member Since:
June 22, 2011
Offline

This plugin is strictly for post/pages etc. ( for dynamically generated contents ). If you want to use the code on static links then its better to use static code without PHP like you did. This will speed up your website.

< My Domain Names Generator tool crossed 50,000 page views. If you haven't tried yet, then try it out. />

Forum Timezone: UTC 0

Most Users Ever Online: 173

Currently Online:
25 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Member Stats:

Guest Posters: 420

Members: 60

Moderators: 0

Admins: 2

Forum Stats:

Groups: 2

Forums: 5

Topics: 356

Posts: 1331

Administrators: Administrator (2), _sudipto_ (512)