[members_logged_in]
[/members_logged_in]
[members_not_logged_in]
ThemeStudio - Building a Photo-Blogging Website
In this 2 hour webinar, we will be using tools like the Voce Theme, Loop Studio, Gravity Forms, and more to build a PhotoBlogging site with a unique display of each photo. We will be customizing the theme, creating a simplified submission form, and customizing a visually pleasing front end template.
Save the Webinar 0
Webinar Originally Broadcast: December 13, 2024
Video Download: HD Download | Mobile Download
Additional Notes:
add_action('init', 'random_add_rewrite'); function random_add_rewrite(){ global $wp; $wp->add_query_var('random'); add_rewrite_rule('random/?$', 'index.php?random=1', 'top'); } add_action('template_redirect', 'random_template'); function random_template(){ if (get_query_var('random') == 1){ $posts = get_posts('post_type=photo&orderby=rand&numberpost=1'); foreach($posts as $post){ $link = get_permalink($post); } wp_redirect($link,307); exit; } }