holubp
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Old site still showingResolved it! Sorry.
Forum: Fixing WordPress
In reply to: Changing Permalinks after Subdirectory to Root migrationnevermind! fixed it.
had to simply change the site address.
Forum: Fixing WordPress
In reply to: Where exactly in this code does the content actually come in?alchymyth I took your advice and replaced
the_post_thumbnail('small-thumbnail');in the original code i posted in my first post, with
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('small-thumbnail'); ?></a>and my blog page goes white and inaccessible…
Forum: Fixing WordPress
In reply to: Where exactly in this code does the content actually come in?thanks alchymyth but when I add that in, it only links the first blog post and all of my other images in the post excerpts below disappear.
Here is what my index.php looks like
<?php get_header(); ?> <div id="container" class="row-inner"> <?php if( ot_get_option('blog_layout') == 'full-width' ) : ?> <div id="content"> <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('small-thumbnail'); ?></a> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); get_template_part( 'content', get_post_format() ); endwhile; else : get_template_part( 'content', 'none' ); endif; ?> <nav class="post-navigation" role="navigation"> <?php posts_nav_link(' ', __('Newer posts', 'care'), __('Older posts', 'care'));?> </nav> </div><!-- #content --> <?php else : ?> <div id="content" class="<?php if( ot_get_option('blog_layout', 'right-sidebar') == 'right-sidebar' ) { echo 'float-left'; } else { echo 'float-right'; } ?>"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); the_post_thumbnail('small-thumbnail'); get_template_part( 'content', get_post_format() ); endwhile; else : get_template_part( 'content', 'none' ); endif; ?> <nav class="post-navigation" role="navigation"> <?php posts_nav_link(' ', __('Newer posts', 'care'), __('Older posts', 'care'));?> </nav> </div><!-- #content --> <div id="sidebar" class="<?php if( ot_get_option('blog_layout', 'right-sidebar') == 'right-sidebar' ) { echo 'float-right'; } else { echo 'float-left'; } ?>"> <?php get_sidebar('blog'); ?> </div> <?php endif; ?> </div><!-- #container --> <?php get_footer(); ?>Any ideas?
Blog is here
http://www.homeopathicpluscentre.com/wordpressnew/?page_id=2946
Forum: Fixing WordPress
In reply to: Where exactly in this code does the content actually come in?Thanks Rajesh!
any idea how to permalink the thumbnail i have in there? I tried
<a href="<?php the_permalink(); ?>">the_post_thumbnail('small-thumbnail');</a>but it basically crashed my site so I removed it.
Forum: Fixing WordPress
In reply to: Images not linking to imported PostsIn the mean time of waiting for help I looked around and installed the ‘export featured images’ Plugin, exported those from the old site and imported into the new site and still none of the featured images are showing in the posts they were originally exported from.
This is very frustrating.