Ben Sutcliffe
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Frustrating and ongoing search problemThe problem here has to be theme specific, as it’s (probably – would need a link to verify) to do with the way the links are set up. If you can provide the code for your search navigation structure, someone will be able to tell you what you need to change!
Also, if you have a <base href=””> defined, that could be the cause of the problem.
Forum: Hacks
In reply to: Static Home Page (straight from index.php)What’s loading your recent posts, and how many is it loading?! If it’s only loading ten that shouldn’t be causing any issues. The best way to create your page would be to make a new page, Home, set that as your home page from Settings > Reading and placing all the code you put in index.php for your homepage in to a new page template.
Forum: Fixing WordPress
In reply to: Play video on hover.In your theme functions file (functions.php), paste this:
add_action('wp_enqueue_scripts', 'jquery_method');
function jquery_method() {
wp_deregister_script( 'jquery' );
wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js');
wp_enqueue_script( 'jquery' );
}
In whichever template that displays the video paste:
$(document).ready(function() {
$("video").bind('mouseenter', function() {
$(this).play();
});
});
Forum: Fixing WordPress
In reply to: Add "blog/" to URL for single postsGo to Permalinks and select Custom. At the beginning type ‘/blog’.
Forum: Fixing WordPress
In reply to: themes not uploadingUnzip the zip file and upload the folder via FTP. See this.
Forum: Fixing WordPress
In reply to: Editor Role ProblemYou need to click the link in the big yellow box at the top. It looks like you’ve accidentally hidden all the buttons by setting up that plugin wrong. If you don’t know what the plugin does, get rid of it!
Forum: Themes and Templates
In reply to: Hiding main blog page titleIn your theme folder open index.php and archive.php (if it exists). Change
<h1 class="pagetitle"><?php the_title(); ?></h1>
to:<?php if(!is_front_page()) : ?><h1 class="pagetitle"><?php the_title(); ?></h1><?php endif; ?>
This checks to see if the page being displayed is the front page and, if it isn’t, will display the H1. If it is the front page it leaves it out and carries on.
Forum: Fixing WordPress
In reply to: 301 redirection help!If you’ve deactivated the plugin then you just need to make sure there are no links left to ?output=pdf and the problem will disappear. This is a better solution than writing a 301 as it means your website is being less silly.
Silly is a technical term.
Forum: Fixing WordPress
In reply to: Admin login page will not load in browserIt’s working for me! Is there a chance Invisible Defender is blocking you out? If you’re still having issues maybe delete that plugin from your FTP, and see if that helps.
Forum: Fixing WordPress
In reply to: Need help with content posts?Backing up is simples. Updating is important as otherwise your site might get hacked by bad people.
To add these bits of info you need to edit your theme. Specifically, you’ll need to add some little PHP tags like these. Read the codex thoroughly, all the info’s there.
Forum: Fixing WordPress
In reply to: Links BrokenAt the front of all your links you need to make sure you include the
https://
bit, otherwise the problem you’ve described will happen.Forum: Fixing WordPress
In reply to: Play video on hover.This is fairly simple with HTML5 video or a YouTube embed, but not for Flash.
For a HTML5 video with jQuery loaded, you’d just need to have a JavaScript snippet along the lines of:
$("video").bind('mouseenter', function() { $(this).play(); });
Forum: Plugins
In reply to: Database for ContentYour best bet would be to use a Custom Post Type. The ‘Advanced Custom Fields’ plugin will help you arrange the metadata you need.
Forum: Hacks
In reply to: BLOG ID-> BLOG ADDRESSYou can find your blog URL using Javascript (
window.location
), although the blog URL never changes.You can embed HTML in to a post. Just click HTML, next to Visual, on the top right of the Post editor and paste your HTML in there.
Forum: Fixing WordPress
In reply to: Can't get old domain offYour best bet is probably to install a new copy of WordPress on your new host. You can copy all your old stuff from your old blog by going to Tools > Export on your old WordPress and then Tools > Import on your new install.