Forum Replies Created
Same here – tried to update using the interface within the plugin and it basically just deleted the plugin!
Downloaded and Installed again and all was well again. Panic over.
Thanks for the reply.
The “link label” was the value that I was missing!
Kind Regards,
David
Hi Shahriar,
I added that code, but it still isn’t working.
David
Thanks Shaon.
The url is: http://atesolutions.co.uk.gridhosted.co.uk/module-testing/flex-10/
On the right hand side there are a number of download links.
The first one is attempting to use the shortcode.
The next four are the original buttons with no shortcode.
The bottom button labelled ‘Download’ is using your shortcode but added via a text widget. This proves the shortcode works normally when not used in a custom field. However as I need different buttons on each page I cannot add them using the text widget.
I have added the following code to my page template used for that page:
echo apply_filters('the_content', get_post_meta($post->ID,'pdf_download_button', true));
The name of the custom field is: Pdf Download Button
Thanks for taking the time to help.
Kind Regards,
David
Hi, I’ve taken over a site that has been developed on a custom theme by a previous developer who is no longer contactable. I appreciate that this is beyond the scope of your plugin support, but if you could point me in the right direction I would really appreciate it.
I tried adding code to enable shortcodes in custom fields, such as these intructions;
http://wordpress.stackexchange.com/questions/191489/enabling-shortcodes-for-custom-fields
But it is not working. I think it may be because I need them to work in custom fields that are then displayed in the page sidebar. Maybe this is complicating things and requiring different code?
Thanks for the reply. Any idea how I would add this do_shortcode function to my theme please?