Resetting Themes Folder to Default

Short answer: No, WordPress does not manage your theme directory, and there is no reset function. There are two important points you should learn from that experience: Always test new software (themes and plugins) in a local installation. Do not just upload something you have not tested before. You could manage the directory or your … Read more

Create a live demo gallery for themes

Solution I used the wordpress-theme-showcaseplugin to show a list of themes in the home page, and to can easily browse the theme that is currently preview I changed the way wordpress handle the permalinks. In the wp-includes/link-template.php file in get_permalink function added this code if(isset($_GET[‘preview_theme’])){ $permalink = home_url(‘?preview_theme=”.$_GET[“preview_theme’] .’&p=’ . $post->ID); }else{ $permalink = home_url(‘?p=’ … Read more

WordPress Theme Problem

You should also consider installing the Theme Check Plug-in The theme has several issues, some of them aren’t crucial errors but the list is filled with too many deprecated functions to use the theme (In my opinion). I installed the theme w/out the plugin’s it recommends, which is probably the actual source of you specific … Read more

Create /archive page in WordPress Theme

What I’m trying to do is make a separate page on the site that lists all posts (not sorted by tag/category/year) in a single, easily-accessible portion of the site by just going to /archive (e.g. www.example.com/archive) The correct approach is, indeed, to create a custom page template, so that the user can create a static … Read more

How to show tags in posts with a theme that does not do it

Filter the_content, and add the result of get_the_tag_list(): add_filter( ‘the_content’, function( $content ) { if ( is_single() ) $content .= get_the_tag_list( ‘<p>Tags: ‘, ‘, ‘, ‘</p>’ ); return $content; }); The other option is to create a child theme and add the_tags() where you need it in a template.