gatessg
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Single.php failingThe Sweeper & Moderator
Posted 16 seconds ago #what are the permalink settings of your site?
I have it send to the “default setting” but have tried a few different onces and have seen no results.
Forum: Fixing WordPress
In reply to: Single.php failingPS. Should i put a “;” after the_ID()?
<div class="post" id="post-<?php the_ID(); ?>">
This however isn’t fixing the issue i’m just wondering if that should be there as well for future reference. Thanks so much in advance!
Forum: Fixing WordPress
In reply to: Limited number of posts on blogI’m currently coding one from scratch. I used the twenty ten as a base though.
Forum: Themes and Templates
In reply to: Single.php failureForum: Themes and Templates
In reply to: Blog posts not linking to single.phpThank you.
Resolved
Forum: Themes and Templates
In reply to: Blog posts not linking to single.phpThanks this worked great for links that were plain text. However if a post has an image included in it, once you click the image it just shows the image on a blank white page instead of linking to the post. Any ideas?
Forum: Themes and Templates
In reply to: Blog posts not linking to single.phpIf i delete the old code on the index.php and the new one in its place nothing seems to happen? All blog posts are now completely removed.
Forum: Themes and Templates
In reply to: Blog posts not linking to single.php<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h1><?php the_title(); ?></h1> <h4>Posted on <?php the_time('F jS, Y') ?></h4> <p><?php the_content(__('(more...)')); ?></p> <hr> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; ?>
Forum: Fixing WordPress
In reply to: Jquery background stretch not working.I’m still getting no where with this. I went ahead and published what I have so maybe you could take a look and see what the errors are meaning if you dont mind.
Now this below is what should be happening. It’s from the actual area where I got the code.
Forum: Fixing WordPress
In reply to: Jquery background stretch not working.So I placed an alert in the bottom of my script to make sure it is being called and working.. which it is. The image is still not loading however. Could this be being referenced wrong here?
<html> <head> <title>Demo Template</title> <!-- @fontface --> <link href='https://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'> <!-- @fontface --> <!-- style sheets --> <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/reset.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>"> <!-- end style sheets --> <?php wp_head(); ?> <!-- background stretch --> <script src="<?php bloginfo('template_url'); ?>/jquery.backstretch.js"></script> <script type="text/javascript"> $.backstretch(["/images/city.png"]); </script> <!-- end background stretch --> </head>
Forum: Fixing WordPress
In reply to: Jquery background stretch not working.Being that I have created this theme from the blank Darling Template I do not have a functions.php file like is present in wordpress themes. Can I copy this out of something like Twenty Twelve and drop it in my theme’s directory to make these changes?
Forum: Fixing WordPress
In reply to: Jquery background stretch not working.If I load jquery from google in the header and run a test such as
<!-- test if jquery is loading --> <script> jQuery(document).ready(function(){ alert('test'); }); </script> <!-- end test if jquery is loading -->
This will work, but as soon as i try to add my code it will not work. Do i need to reference the javascript a certain way? I’m still having absolutely no luck with this and it should be an extremely simple plug in.
Forum: Fixing WordPress
In reply to: Jquery background stretch not working.I have looked at that document but at still very confused how I would implement the
wp_enqueue_script( $handle ,$src ,$deps ,$ver ,$in_footer );
in with my current code.
could you please give me an example of how you would reference it in my header?