Media & Plugin screens stall

One of my co-workers was working on a different file for me and he found the issue. there was a ` at the begining of the functions file. So the functions.php file started: `<?php Which is why, I assume, I was getting an error on media that looked like it did. Hope this helps someone … Read more

Help Code Review – I need to write on .htaccess file from theme’s function.php

The code below has work for me in the past 🙂 function add_to_htaccess( $rules ) { $content = <<<EOD # Enable Vary: Accept-Encoding Start <IfModule mod_headers.c> <FilesMatch “\.(js|css|xml|gz)$”> Header append Vary: Accept-Encoding </FilesMatch> </IfModule> EOD; return $content . $rules; } add_filter(‘mod_rewrite_rules’, ‘add_to_htaccess’);

overlay post title over post’s featured image

Here is the answer for you CSS issue. yes you can achieve that layout using CSS. Just follow this structure: <div class=”parent”> <div class=”image”><img src=””/></div> <div class = “overlay”> Add you title here </div> </div> here .parent must me position:relative and .overlay must be position:absolute with 100%width and bottom:0 . you can play around with … Read more

Show content from plugin on index

The answer is in your documentation link under Common Mistakes: Wrong folder path – Files within the templates folder are not put within wp-content/themes/twentyten/plugins/events-manager/templates/templates/, note the extra templates folder in this path compared to the previous one. Use /plugins/events-manager/templates/ instead. I.e. you need to copy files inside the plugin’s templates folder to your theme, not … Read more