Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
Nitai C
0 points
Beginner
Hi,
I’m trying to extract the data of the shortcode [map_location] or [LOCATION]. As it stand now, both those shortcodes output the listing location but wrap the the data in HTML. I need to strip the HTML. I saw a similar post and it was suggested creating a custom shortcode.
I’m not a PHP progammer but I’ve managed to create a custom shortcode. What I haven’t been able to do is figure out how to reference the existing shortcodes and just extract what I need.
I did find where the shortcode [LOCATION] is stated. It’s in the file class_core.php and starts on line 3513.
If anyone more knowledgeable would mind helping me out, I’d really appreciate it.
I’m using a child theme and have created the custom shortcode in the functions file. I’m assuming that what’s been done for the shortcode [LOCATION] can also be done for my custom shortcode, minus the HTML.
Hi,
I’m trying to extract the data of the shortcode [map_location] or [LOCATION]. As it stand now, both those shortcodes output the listing location but wrap the the data in HTML. I need to strip the HTML. I saw a similar post and it was suggested creating a custom shortcode.
I’m not a PHP progammer but I’ve managed to create a custom shortcode. What I haven’t been able to do is figure out how to reference the existing shortcodes and just extract what I need.
I did find where the shortcode [LOCATION] is stated. It’s in the file class_core.php and starts on line 3513.
If anyone more knowledgeable would mind helping me out, I’d really appreciate it.
I’m using a child theme and have created the custom shortcode in the functions file. I’m assuming that what’s been done for the shortcode [LOCATION] can also be done for my custom shortcode, minus the HTML.
Anyone?
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now