template code URL call permalink
-
Hello, great and simple plugin! works flawless.
Though i want to display a share buttons on archive page. I already set to display on archive page and excerpt, but since i using qode theme (it use qode_excerpt(); the share button didnt showed.
So i want to use php template code to display.
<?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT( array( 'linkname' => (the_title()), 'linkurl' => (the_permalink()) ) ); } ?>
It is work, the button link is to share the permalink, but it show text of the title and the url of permalink before the button.
Can you help me to show correct code to make the php code linkurl to post permalink?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘template code URL call permalink’ is closed to new replies.