How to input shortcode with https:// to php file
-
Hi everyone,
I want to input a WP shortcode in php file (for example page.php). I know that I can do it using the:
<?php echo do_shortcode(“[shortcode]”); ?>
The problem is my shortcode looks like this:
[feedzy-rss feeds=”https://samplelink.com/” max=”1″ feed_title=”yes” target=”_blank” title=”100″ meta=”yes” summary=”yes” summarylength=”200″ thumb=”yes” size=”200″ ]
As a matter of fact I have a error with T_String (probably becouse of double “//”). Anyone could help?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to input shortcode with https:// to php file’ is closed to new replies.