This file contains 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 | |
/** | |
* Facebook Page Feed Parser | |
* | |
* @using cURL | |
*/ | |
function fb_parse_feed( $page_id, $no = 5 ) { | |
// URL to the Facebook page's RSS feed. |
This file contains 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
Hosted Unmark | |
https://unmark.it/mark/add?url=${url}&title=${title} | |
Self-hosted Unmark | |
http://YOUR-URL-HERE/mark/add?url=${url}&title=${title} |
This file contains 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 wpvipblocks_templates( $args, $post_type ) { | |
if ( $post_type == 'post' ) { | |
$args['template_lock'] = true; | |
$args['template'] = [ | |
[ | |
'core/heading', [ | |
'placeholder' => 'Add heading here.', |