jazzi
Forum Replies Created
-
Forum: Your WordPress
In reply to: How to get rid of the “Page Name Subpages” heading in the left columnThe site is on localhost at the moment m8. Its probably a template feature where some sort of WordPress function is being called. I just created a test page named “Test Page” and when I browsed to it, a Test Page Subpages heading appeared in the template’s left column. This just requires a some code to be removed from one of the template files I reckon.
Edit: OK just as I suspected. I opened the template’s “sidebar.php” file and removed the following code:
<h2 class="sidebartitle"><?php echo $parent_title; ?> <?php _e('Subpages'); ?></h2>
This got rid of the unwanted header. Additionally, there was a query which appeared to contain the logic to generate the sub-pages menu which I gather had to be removed as well.
Forum: Fixing WordPress
In reply to: Thumbnail in teaser and large image in the full postThanks for the response trixoo. However, what you have mentioned simply inserts a “read more” link which I have been able to do. What I am aiming to implement is to place a thumbnail based on an image from the post, to the left of the “read more” text.
I have been able to accomplish this (somewhat) by using the “Post Thumbnail Images” images feature (new to WP 2.9+) and the get_the_content() WP function along with the PHP strip_tags() function.
strip_tags(get_the_content(...), 'allowed tags minus <img>')
This prevents the first image from the post from being displayed in the teaser but does not affect the thumbnail.
Forum: Plugins
In reply to: Building first WP site – Plugin recommendations neededThanks m8 for the suggestions ??
Regards