Dave Naylor
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Role ID setting itself as none and we can't change itYou neglected to mention that you’re using S2Member on your site. Since that plugin is more than likely managing users/roles/membership on your site, it’s more appropriate to ask in the plugin’s own forum:
Forum: Fixing WordPress
In reply to: php text displaying below footerMaybe something like:
<?php echo get_page_template_slug( $post->ID ); ?>Forum: Fixing WordPress
In reply to: php text displaying below footerIt’s happening on all your pages. Looks like a developer has left some debug code in there that spits out the name of the page template in use. Take a look in your theme templates for such code right at the end of the file. I’d start with footer.php but it may be elsewhere.
What’s the site URL? Which theme in particular is causing the problem?
Forum: Fixing WordPress
In reply to: Blank wp-admin page?Can you post your functions.php file to somewhere like http://pastebin.com ?
Forum: Fixing WordPress
In reply to: Blank wp-admin page?You’ve probably made a typo on the file and PHP is bombing out. Can you access the dev site via FTP or SSH? If so, you should be able to download/edit the file to correct your mistake.
Forum: Fixing WordPress
In reply to: Images – Wrong Path Called For – Ubuntu Server InstallThis tool works really well for search/replacing incorrect URLs and paths:
https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
Similarly, so does this one:
https://wordpress.org/plugins/wp-migrate-db/
There are also packages available for wp-cli that do a similar job if you like to get your fingers dirty in a terminal.
Forum: Fixing WordPress
In reply to: Page IDs hiddenYou can just hover over the link to reveal the ID, go all hardcore and use wp-cli or install a plugin like this:
Forum: Plugins
In reply to: [Advanced Image Styles] advanced image style for borders not workingTo test, I just installed this plugin on a vanilla WordPress 3.9.1 install. I added an image to a post, then, using the plugin, I created a 2px solid red border and a 25px margin to the right. The plugin did its job and the border and margin were correctly applied to the image.
Forum: Fixing WordPress
In reply to: Contact Form completely blackHere’s the culprit, some embedded CSS:
<div id="main" class="wrapper"> <style> #main { background: black; } ...Forum: Fixing WordPress
In reply to: Title ProblemYou need to include as much information as possible.
Forum: Fixing WordPress
In reply to: How do I change font size of subjects within sidebar widgetsIf you want CSS advice, you have to supply a URL. An image of a portion of your site is of no use whatsoever.
Forum: Fixing WordPress
In reply to: wp_options DB table grew 1G overnightWhat kind of data is being added to the table?
Forum: Fixing WordPress
In reply to: retrieve url from "the_post_thumbnail();"Try using
wp_get_attachment_urlcombined withget_post_thumbnail_id:$image_src = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );Forum: Fixing WordPress
In reply to: 3.9.1 is broke – Visual Editor is not workingThis post has been like a Kobayashi Maru test for forum moderators. Well done guys 🙂