+ 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...
--
-
- Browse by category -
- Browse by network -
- Random bot -
- What is a bot? - -
Archives
- Browsing bots tagged ... +
+
-
+
+
Browsing all publish ) ); + ?> bots...
+
+
-
+
- Browse by category +
- Browse by network +
- Random bot +
- What is a bot? + +
Archives
+
+
-
-
-
- Browse opensource bots - -
-
-
-
-
-
- 
-
-
- Cheap Bots, Done Quick!
-An open-source website that lets you create Twitter bots using a text-generating language called Tracery.
--
-
- - Visit site - -
- - Interview with author - - -
-
+
- Browse opensource bots + +
+
-
+
+
+
+
+ 
+
Cheap Bots, Done Quick!
+An open-source website that lets you create Twitter bots using a text-generating language called Tracery.
+-
+
- + Visit site + +
- + Interview with author + + +
-
-
-
-
-
- 
-
-
- botsin.space
-A Mastodon instance for hosting friendly bots.
--
-
- - Visit site - -
- - Interview with author - - -
+
-
+
+
+
+
+ 
+
botsin.space
+A Mastodon instance for hosting friendly bots.
+-
+
- + Visit site + +
- + Interview with author + + +
-
-
- #images+generative -
- #images+iot - -
-
-
- #text+generative - -
-
-
- #generative+images -
- #generative+gif -
- #generative+emoji -
- #generative+text -
- #generative+audio - -
-
-
- #interactive+game - -
-
-
- #iot+images - -
-
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 @@
-
diff --git a/search.php b/search.php
index ab55569..b1b3fed 100644
--- a/search.php
+++ b/search.php
@@ -5,69 +5,71 @@
?>
-
-
-
- 
-
-
- Monthly Bot Challenge
-Monthly Bot Challenge is a recurring community event dedicated to showcasing friendly, useful, artistic online bots.
--
-
- Read more - -
-
+
- #images+generative +
- #images+iot + +
-
+
- #text+generative + +
-
+
- #generative+images +
- #generative+gif +
- #generative+emoji +
- #generative+text +
- #generative+audio + +
-
+
- #interactive+game + +
-
+
- #iot+images + +
+
-
+
+
+
+
+ 
+
Monthly Bot Challenge
+Monthly Bot Challenge is a recurring community event dedicated to showcasing friendly, useful, artistic online bots.
+-
+
- Read more + +
-
-
-
-
+
+
-
+ 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){ ?>
-
+ if ($wp_query->found_posts > 0){ ?>
+ Not quite what you're looking for?
- -
-
- -
-
-
- Contribute to Botwiki
-
-
-
- Please be patient while we review the submissions 🙇 -
- - - Ask in the Botmakers community - -
- - Send us an email - -
- - Find us on Twitter - -
Not quite what you're looking for?
+ +
+
+ -
+
-
+ Contribute to Botwiki
+
-
+
- Please be patient while we review the submissions 🙇 +
+ - + Ask in the Botmakers community + +
- + Send us an email + +
- + Find us on Twitter + +
get_results( "SELECT * FROM wp_posts WHERE post_content LIKE '%wp:lazyblock/bot-output%' AND post_type = 'bot' AND post_status = 'publish'" );