Last active
January 2, 2018 16:38
-
-
Save norewp/a72bc2a22fd3372bb1c4b4dfa69b81a1 to your computer and use it in GitHub Desktop.
Add Opineo code as a shortcode for use with WordPress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function opineo_review_func( $atts ) { | |
return readfile("https://www.opineo.pl/shop/latest.php?s=52913&w=500&n=4&secured=1"); | |
} | |
add_shortcode( 'opineo', 'opineo_review_func' ); | |
// Usage [opineo] in any shortcode supporting widget or content area |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment