Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Free download link
- This topic has 5 replies, 3 voices, and was last updated 12 years, 10 months ago by admin.
-
AuthorPosts
-
January 26, 2012 at 4:55 pm #5393greencodeSpectator
I’ve no idea what I’m doing wrong here but I’ve added the shortcode
[wp_eStore_download_now_button id=1]
That I’m presuming should add a button that enables the user to download item with ID of 1. But instead all it does is display the shortcode. I can get the squeeze form to work with the following code
[wp_eStore_free_download:product_id:1:end]
So I know it’s not an issue with no shortcodes working.
Any ideas or help would be greatly appreciated.
January 26, 2012 at 7:52 pm #41255greencodeSpectatorUmm, upon further investigation this is now what I’m finding … I have the following code
[wp_eStore_download_now_button id=1] to display the download link – which works well on any page but if I then have the following code:
[emember_protected]
[wp_eStore_download_now_button id=1]
[/emember_protected]
The download button then doesn’t show and only the shortcode becomes visible to logged in users.
January 27, 2012 at 1:24 am #41256PeterMemberHi,
There is nothing wrong with how you are using the shortcodes.
Please try the following tests to see if your theme or another plugin is causing a conflict:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
January 27, 2012 at 5:49 am #41257adminKeymasterJanuary 27, 2012 at 9:30 am #41258greencodeSpectatorThanks for replying. I tested both my theme and plugins and they were all working okay and the shortcode still wasn’t so I then opened the “wp_eStore1.php” file changed:
add_filter(‘the_content’, ‘do_shortcode’,11);
to this
add_filter(‘the_content’, ‘do_shortcode’);
as instructed here:
eStore – Shortcode Inside Another Shortcode (Shortcode Nesting) Not Working
and that appears to have done the trick. Can you please explain exactly what that is doing though and whether by changing that code whether it will affect any other part of the eStore plugin?
Also, is there any way of actually having a text download link so I can a) style that link and b) change the text on that link?
January 28, 2012 at 4:08 am #41259adminKeymasterChanging the filtering priority helps one shortcode to be processed before the other one. It won’t affect anything else. No, there is no option to create a text only eStore download link.
-
AuthorPosts
- You must be logged in to reply to this topic.