Tagged: Wordpress

A Fix For WordPress Photo Captions On Responsive Themes 1

A Fix For WordPress Photo Captions On Responsive Themes

My current WordPress Theme is Responsive and most images work correctly with the CSS, but I was having an issue with photos with captions breaking the responsive designs. I tried a few CSS fixes and didn’t see any change in how the images were being handled on my iPhone. I came across this function code which works for me. It helps to resize the captioned photos in WordPress when using responsive themes. https://gist.github.com/jentanbernardus/3023022 add_filter( ‘img_caption_shortcode’, ‘dap_responsive_img_caption_filter’, 10, 3 ); function dap_responsive_img_caption_filter( $val, $attr, $content = null ) { extract(shortcode_atts( array( ‘id’ => ”, ‘align’ => ”, ‘width’ => ”, ‘caption’...

0

Required+ Foundation Full Search Results

Want Full Search Results in a Required+Foundation child theme? Here is how to do it. This is for Required+ Foundation version 1.0.10 Find and remove or comment out the lines marked remove below in Content.php: Original file with comments saying what to remove: <?php /** * The default template for displaying content single/search/archive * * @package required+ Foundation * @since required+ Foundation 0.3.0 */ ?> <!– START: content.php –> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <?php if ( is_single() ) : ?> <h1 class="entry-title"><?php the_title(); ?></h1> <?php else : ?> <?php the_post_thumbnail(); ?> <h1 class="entry-title"> <a href="<?php...

0

Using Jetpack Comments with Required+ Foundation

I wanted to use the WordPress Jetpack Comments feature on my site and found that the form wasn’t showing up with the original code for my site which uses the Required + Foundation basic framework so I did a quick search on Google and found a solution was to insert the comment form code into the comments.php instead of using the older comments template. Here is some code to help add the comment form to the comment.php for the Require+Foundation theme framework. Not sure if this is the best way to do it, but it seems to work for me...

0

Site Updated With Required+ Foundation

I have used several different theme frameworks for the base of my site. I started the new look for my site by modifying an existing theme called Delicate. Delicate is a nifty little theme, but I wanted a bit more so I moved to Paglines. Pagelines gave me more than I ever needed in a theme framework and I found myself not using most of what was there. I began looking into making my own themes and decided to look for a free framework that I could base my new themes on and came across Foundation. I poked around a...

0

Widget Logic WordPress Plugin

Using WordPress? Have you ever wanted to have specific widgets only appear on specific page, or have you ever wanted to not display certain widgets on specific pages? Widget Logic makes it easy to do both of those things and a lot more. The basic widget logic plugin allows you to use conditional tags on each of your widgets telling them where to or where not to show up on your site. You can do it by post, page, category, and much more. Just toss in the code or a combo of tag/code bits and poof you are all set...

0

WordPress Backup

Backups are important, be it computer data backups or website/Wordpress backups. You can get backups through your host, Cpanel/Plesk, whatever, but sometimes it is nice to have WordPress backups either for backup purposes or for transferring from one web host to another. Two tools I like that make WordPress backups a snap are BackWPup and BackupBuddy. Both of these plugins do a similar job and they do it well. You can even use both to have double backups. Both allow for local backups and offsite backups. You can schedule your backups to run at pretty much any interval with either...