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 | |
| add_filter( 'Eight_Day_Week\Plugins\Article_Export\xml_outer_elements', function( $elements, $article ) { | |
| $elements['subHeadline'] = get_post_meta( $article->ID, 'nyo_dek', true ); | |
| return $elements; | |
| }, 10, 2 ); | |
| add_filter( 'Eight_Day_Week\Plugins\Article_Export\xml_outer_elements', function( $elements, $article ) { | |
| if( function_exists( '\Eight_Day_Week\Plugins\Article_Byline\get_article_byline' ) ) { | |
| $elements['byline'] = \Eight_Day_Week\Plugins\Article_Byline\get_article_byline( $article ); |
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
| <script src="https://apis.google.com/js/plusone.js"></script> | |
| <script> | |
| gapi.comments.render('comments', { | |
| href: window.location, | |
| width: '760', | |
| first_party_property: 'BLOGGER', | |
| view_type: 'FILTERED_POSTMOD' | |
| }); | |
| </script> | |
| <html> |
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
| #!/bin/sh -x | |
| # Exit if any error is encountered: | |
| set -o errexit | |
| # git name-rev is fail | |
| # Get the branch name and replace the string from an array of values for instance "feature/" with "archive/" | |
| CURRENT=`git branch | grep '\*' | awk ' {print $2}'` | |
| ARCHIVE=`git branch | grep '\*' | awk ' {print $2}' | sed 's,.*[a-z]/,,g' | sed 's,^,archive/,g'` | |
| #Check if we are on master or develop since we don't want to tag those | |
| if [ $CURRENT = 'master' ] |
OlderNewer