how to update?
-
hi there,
i used your theme 1.5.6, and now i want to update to 1.5.7.
but i have changed the file the functions.php.what shall i do ? update the theme and do not change the functions.php what i have edit? below is my code.
$permalink = get_permalink($post->ID); echo '<div class="related-thumb">' . "\n"; echo '<a href="' . $permalink . '" title="' . get_the_title() . '">' . "\n"; if (has_post_thumbnail()) { the_post_thumbnail('thumbnail'); } else { echo '<img src="' . get_template_directory_uri() . '/images/noimage_70x53.png' . '" alt="No Picture" />' . "\n"; } echo '</a>' . "\n"; echo '<a href="' . $permalink . '" title="' . get_the_title() . '">' . "\n"; echo '<div class="related-thumb-title">' . get_the_title() . '</div>' . "\n"; echo '</a>' . "\n"; echo '</div>' . "\n";
another when i use the plugin: Related Posts Thumbnails.
there have some error on the single post bottom to show related post?
and this plugin is ok to be used other themes.thanks,
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘how to update?’ is closed to new replies.