diff --git a/archive.php b/archive.php index 50fb0d6..bf5869b 100644 --- a/archive.php +++ b/archive.php @@ -65,6 +65,7 @@ ?> s by tagged # ... +

- query['post_type'] == 'bot' ) { +
+ query['post_type'] == 'bot' ) { - if ( $_GET['networks'] || $_GET['languages'] || $_GET['tags'] ){ - function network_links( $network ){ - return "#$network "; - } + if ( $_GET['networks'] || $_GET['languages'] || $_GET['tags'] ){ + function network_links( $network ){ + return "#$network "; + } - if ( !empty( $_GET['networks'] ) ){ - $networks = implode( ' ', array_map( 'network_links', explode( ',', $_GET['networks'] ) ) ); - } + if ( !empty( $_GET['networks'] ) ){ + $networks = implode( ' ', array_map( 'network_links', explode( ',', $_GET['networks'] ) ) ); + } - function language_links( $language ){ - return "#$language "; - } + function language_links( $language ){ + return "#$language "; + } - if ( !empty( $_GET['languages'] ) ){ - $languages = implode( ' ', array_map( 'language_links', explode( ',', $_GET['languages'] ) ) ); - } + if ( !empty( $_GET['languages'] ) ){ + $languages = implode( ' ', array_map( 'language_links', explode( ',', $_GET['languages'] ) ) ); + } - function tag_links( $tag ){ - return "#$tag "; - } + function tag_links( $tag ){ + return "#$tag "; + } - if ( !empty( $_GET['tags'] ) ){ - $tag_links = implode( ' ', array_map( 'tag_links', explode( ',', $_GET['tags'] ) ) ); - } + if ( !empty( $_GET['tags'] ) ){ + $tag_links = implode( ' ', array_map( 'tag_links', explode( ',', $_GET['tags'] ) ) ); + } - ?> -

Browsing bots tagged  ...

- - -

Browsing all publish ) ); - ?> bots...

- - - -

Archives

- Browsing bots tagged  ... +
+
    + +
+ +

Browsing all publish ) ); + ?> bots...

+
+ + + +

Archives

+
+ - - -
-
-
-
- -
-
-

Cheap Bots, Done Quick!

-

An open-source website that lets you create Twitter bots using a text-generating language called Tracery.

- + if ( in_array( 'opensource', $tags ) ) { ?> + + +
+
+
+
+ +
+
+

Cheap Bots, Done Quick!

+

An open-source website that lets you create Twitter bots using a text-generating language called Tracery.

+ +
-
- -
-
-
-
- -
-
-

botsin.space

-

A Mastodon instance for hosting friendly bots.

- + +
+
+
+
+ +
+
+

botsin.space

+

A Mastodon instance for hosting friendly bots.

+ +
-
- - - - - - - - - - - 1 ) { ?> - - -
-
-
-
- -
-
-

Monthly Bot Challenge

-

Monthly Bot Challenge is a recurring community event dedicated to showcasing friendly, useful, artistic online bots.

- + + + + + + + + + + + 1 ) { ?> + + +
+
+
+
+ +
+
+

Monthly Bot Challenge

+

Monthly Bot Challenge is a recurring community event dedicated to showcasing friendly, useful, artistic online bots.

+ +
-
- -
    - -
- + +
    + +
+ - - + + - + include( locate_template( 'author-card.php', false, false ) ); + } ?> +
diff --git a/search.php b/search.php index ab55569..b1b3fed 100644 --- a/search.php +++ b/search.php @@ -5,69 +5,71 @@ ?>
-

found_posts ); echo ''. $search_query . ''; ?>

- found_posts ); echo ''. $search_query . ''; ?> +
+ $tag_singular "; - } + if ( term_exists( $tag_singular, 'post_tag' ) ){ + $tags_html[] = "$tag_singular "; + } - if ( term_exists( $tag_plural, 'post_tag' ) ){ - $tags_html[] = "$tag_plural "; + if ( term_exists( $tag_plural, 'post_tag' ) ){ + $tags_html[] = "$tag_plural "; + } } - } - if ($tags_html){ - echo ''; - } - + if ($tags_html){ + echo ''; + } + - get_template_part( 'loop' ); - get_template_part( 'pagination' ); + get_template_part( 'loop' ); + get_template_part( 'pagination' ); - + - if ($wp_query->found_posts > 0){ ?> -

Not quite what you're looking for?

- -
- -
-
+ if ($wp_query->found_posts > 0){ ?> +

Not quite what you're looking for?

+ +
+ +
+
+
diff --git a/template-showcase.php b/template-showcase.php index be3a499..c592fae 100644 --- a/template-showcase.php +++ b/template-showcase.php @@ -11,6 +11,8 @@
get_results( "SELECT * FROM wp_posts WHERE post_content LIKE '%wp:lazyblock/bot-output%' AND post_type = 'bot' AND post_status = 'publish'" );