Skip to content

Instantly share code, notes, and snippets.

View gist:39c2c432d7f7083d80b45ea6903b338f
/**
* CSS also required, see: http://generatepress.com/forums/topic/all-meta-in-one-single-line/#post-108079
*/
if ( ! function_exists( 'generate_posted_on' ) ) :
/**
* Prints HTML with meta information for the current post-date/time and author.
*/
function generate_posted_on() {
View Remove comma between Tags only
if ( ! function_exists( 'generate_entry_meta' ) ) :
/**
* Prints HTML with meta information for the categories, tags.
*
* @since 1.2.5
*/
function generate_entry_meta()
{
$categories = apply_filters( 'generate_show_categories', true );
$tags = apply_filters( 'generate_show_tags', true );
View gist:503b7dc46f2f01a77909efc78ef7c3a0
if ( ! function_exists( 'generate_posted_on' ) ) :
/**
* Prints HTML with meta information for the current post-date/time and author.
*/
function generate_posted_on() {
if ( 'post' !== get_post_type() )
return;
$time_string = '<time class="entry-date published" datetime="%1$s" itemprop="datePublished">%2$s</time>';
View gist:26ddd6df68c67c7bc5f7ed9125563fe2
[lgc_column grid="33" tablet_grid="33" mobile_grid="100" last="false"]picture 1 [/lgc_column]
[lgc_column grid="33" tablet_grid="33" mobile_grid="100" last="false"]picture 2[/lgc_column]
[lgc_column grid="33" tablet_grid="33" mobile_grid="100" last="true"]picture 3[/lgc_column]
View gist:dc66505011bdac3a994e414153358ad4
[lgc_column grid="33" tablet_grid="50" mobile_grid="100"]Some content[/lgc_column]
[lgc_column grid="33" tablet_grid="50" mobile_grid="100"]Some content[/lgc_column]
[lgc_column grid="33" tablet_grid="50" mobile_grid="100" last="true"]Some content[/lgc_column]
View gist:fcedf880c7ba891ba10eb0d798ff9421
[lgc_column grid="33" tablet_grid="50" mobile_grid="100" last="false"]Content_Row1Column1[/lgc_column]
[lgc_column grid="33" tablet_grid="50" mobile_grid="100" last="false"]Content_Row1Column2[/lgc_column]
[lgc_column grid="33" tablet_grid="50" mobile_grid="100" last="true"]Content_Row1Column3[/lgc_column]
View gist:bf66155a2ca582a8c2ab54898147b9bc
[lgc_column grid="33" tablet_grid="50" mobile_grid="100" last="false"]Row1Column1[/lgc_column]
[lgc_column grid="33" tablet_grid="50" mobile_grid="100" last="false"]Row1Column2[/lgc_column]
[lgc_column grid="33" tablet_grid="50" mobile_grid="100" last="true"]Row1Column3[/lgc_column]