Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

Adding a Flattr link to the post footer / strange behaviour with links


 
Prev Previous Post   Next Post Next
  #1  
Old Jul 11, 2012, 05:26 AM
Fux
 
142 posts · Apr 2009
Adding a Flattr link to the post footer / strange behaviour with links

Hi,

this is in my "FOOTER: Single Post Pages"

Code:
%comments('Kommentieren', '1 Kommentar', '% Kommentare', 'Comments are closed')% | %share-this% | %date('j. F Y')% <a href="">.</a>
I put the last href there as a test. The output is fine except that the '.' with the href links to the post (probably the_permalink?)

I am having trouble adding a (compact) Flattr link to my post footers. I installed the official plugin and tried the shortcode first. None of these did work

Code:
[flattr url="<?php the_permalink(); ?>" type="compact"]
Result: Front-end displays
Code:
" type="compact"]
While this (static link)

Code:
[flattr url="http://www.mywebsite.com" type="compact"]
results in nothing, no button, nada.

So maybe shortcode does not work in the Atahualpa custom fields. Makes sense.

But this, the plugin's own PHP-code does not work either:

Code:
<?php the_flattr_permalink() ?>
Neither does this

<a href="<?php the_flattr_permalink() ?>">Link</a>

The main problem being here that the permalink gets added (why?) so the resulting link is somehting like this

http://www.mywebsite.com/postpermalink/<?php the_flattr_permalink() ?>

My guess is that the problem lies in the fact that all links in these Atahualpa lines somehow get the permalink added for whatever reason. Even this, the official code

Code:
<a href="<?php the_permalink(); ?>">permalink</a>
results in this

Code:
http://www.mywebsite.com/postpermalink/<?php the_permalink(); ?>
That does not make sense. To me.

What do you think?
 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange behaviour on with category posts justshopandgive Center area post/pages 1 Mar 14, 2011 12:11 PM
Strange behaviour on search results title justshopandgive Atahualpa 3 Wordpress theme 7 Aug 26, 2010 12:01 PM
[SOLVED] Strange Menu1 Behaviour Llamalad Page & Category Menu Bars 2 Aug 20, 2010 07:22 AM
[SOLVED] Category Menu strange behaviour! NeilC Page & Category Menu Bars 4 Jul 29, 2010 10:06 AM
Adding a link to the Footer of my post Hamlet Post-Kicker, -Byline & -Footer 2 May 21, 2009 06:50 PM


All times are GMT -6. The time now is 07:46 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.