GK News Show Pro and shortcodes

January 2013 WordPress Theme
GK User
Fri Jul 18, 2014 4:53 pm
I'm trying to use shortcodes with GK-NSP widget, but it seems that they're being stripped somewhere.
Where should I comment/uncomment code to activate use of shortcodes at GK NSP ?
User avatar
Fresh Boarder

teitbite
Sun Jul 20, 2014 12:51 pm
Hi

Please check if You are using the latest version of widget or just reinstall it with the latest version. If this will not help please send me an access to admin panel and ftp.
User avatar
Moderator

GK User
Sun Jul 20, 2014 12:58 pm
My Folio - version 1.3.3
GK News Show Pro - 1.0.0
GK Tabs - 1.0
All are latest, sent a PM with details
User avatar
Fresh Boarder

teitbite
Sun Jul 20, 2014 1:45 pm
Hi

Have You send it already. I do not see it in my PM or mail.
User avatar
Moderator

teitbite
Mon Jul 21, 2014 10:38 am
Hi

I've checked and from what I can see widget is not reciving any content from the given source. When I'm opening the link I see "Access denied" message. Is it possible that widget gots the same result ? Please try put the source as an ordinary post and try if shortcodes works than.
User avatar
Moderator

GK User
Wed Jul 23, 2014 5:47 pm
Sorry.
I've updated source settings for that widget - now it's showing data
User avatar
Fresh Boarder

teitbite
Thu Jul 24, 2014 2:55 pm
Hi

So is the issue solved ? Can I close this thread?
User avatar
Moderator

GK User
Fri Jul 25, 2014 12:47 pm
No, it is not.
It is not an issue about data and its source, but shortcodes which are not working - you can see at the frontpage, they are not being processed.
User avatar
Fresh Boarder

teitbite
Sat Jul 26, 2014 2:22 pm
Hi

Ok, sorry. From Your previous post I understood it's solved. I've sending You access to programmers, becuase I cannot see a problem. Will let You know when they will answer. Can You send me an access to ftp in case they will ask for it ?
User avatar
Moderator

teitbite
Mon Jul 28, 2014 10:26 am
Hi

Ok. Mystery has been revealed :) Shortcodes are not working in titles of widgets, but inside widgets itself.
User avatar
Moderator

GK User
Fri Aug 01, 2014 6:28 am
Hi!
What should I change in code in order to activate them also in titles. I know that some other plugins work with shortcodes in titles, but not gk5
User avatar
Fresh Boarder

GK User
Fri Aug 01, 2014 6:41 am
I also need shortcodes to modify rss url of the data source parameter of the news plugin
User avatar
Fresh Boarder

teitbite
Fri Aug 01, 2014 3:40 pm
Hi

Titles are handle by WP. I believe ther is a method to make it from inside module, but it will require some additional codding. Unfortunatelly we do not support such customisations.
User avatar
Moderator

GK User
Fri Aug 01, 2014 5:52 pm
Ok, will check why it's supported at other plugins.
I also need shortcodes to modify rss url of the data source parameter of the news plugin - how to fix that?
User avatar
Fresh Boarder

GK User
Sat Aug 02, 2014 6:14 pm
@vlazuko - why do you need a shortcodes usage on the parameter which is an option in the widget?
User avatar
Administrator

GK User
Sun Aug 03, 2014 9:50 pm
I need to request different RSS feeds depending on the value of parameter passed to the page on request.
URL parameter "userID" will be parsed and its value will be used as an addition to an RSS feed URL used by gk-nsp widget.
I want to use for example "URL Params" widget to transfet value of parameter to gk-nsp: Data Source type of nsp widget will be set to RSS and value to, for example: "www.site.com/backend/userDetails-[urlparam param="userID" default="0" /].rss"

For example, requested url is smth like: "www.site,com/?userID=5" will get nsp to fetch "www.site.com/backend/userDetails-5.rss"
User avatar
Fresh Boarder

GK User
Mon Aug 04, 2014 8:07 am
OK, in this case please open file data_sources/rss/rss.php and please change line:

Code: Select all
$rss = fetch_feed($data_source);


to:

Code: Select all
$rss = fetch_feed(do_shortcode($data_source));
User avatar
Administrator


cron