Dusty
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Error in PHP Code – Help!I’m getting Parse error: syntax error, unexpected ‘<‘ in…on line 15. I checked against the above codes but I just can’t see it. Can you help? Line 15 is the last line
<?php get_header(); ?>
<div id=”content”>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class(); ?>>
<h2>“><?php the_title(); ?></h2>
<?php if( has_post_thumbnail() ) { ?>
” class=”post-thumnail”><?php the_post_thumbnail(); ?>
<?php } else { ?>
” class=”post-thumbnail”><img src=”<?php bloginfo(‘template_url’);
<?php } ?>Forum: Fixing WordPress
In reply to: Comments, subscribing and redirection issueThanks again for your help. You’re right, that’s all it was…it’s working now. Previously I had “/” as the address which works for the other active pages but not for the blog. I have it added to the function.php file:
// Function for inserting my nav bar function custom_navigation() { ?> <div id="nav"> <ul> <li><a href="https://ameliapowerdesign.com/index.htm">Home</a></li> <li><a href="https://ameliapowerdesign.com/about.htm">About</a></li> <li><a href="https://ameliapowerdesign.com/work.htm">Work</a></li> <li><a href="https://www.ameliapowerdesign.com/blog/">Blog</a></li> <li><a href="https://ameliapowerdesign.com/mysitecontact.php">Contact</a></li> </ul> </div> <!--end nav--><?php } add_action('thematic_belowheader', 'custom_navigation');
Forum: Fixing WordPress
In reply to: Comments, subscribing and redirection issueThere is still a little redirecting happening. When I click “blog” in my nav say from the comments section, I’m redirected to my home page instead of the main blog page. Any ideas?
Thanks
Forum: Fixing WordPress
In reply to: Comments, subscribing and redirection issueThank you so much Ipstenu.
The wp-includes folder was not under the “blog” for some reason.
I moved that folder and renamed the urls in the general settings as you said and it’s working.