paddyinthesun
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: removing blank lines – sticky postThat did the job, so simple in the end.
Thanks VishalForum: Fixing WordPress
In reply to: removing blank lines – sticky postI’ve reduced the padding in .hentry, which has helped a little but i still have a space left by the removal of the cat-links.
The cat-links were removed by adding<?php if( !is_sticky() || !is_home() ) :?>
to loop.php.
Anyone know how to remove the space remaining?Forum: Fixing WordPress
In reply to: Remove entry-utility from sticky postExcellent, thank you very much.
Forum: Fixing WordPress
In reply to: removing blank lines – sticky postHi Vishal,
The space is below the stick post so modifying the banner height will not give me the effect i want.Forum: Fixing WordPress
In reply to: Remove entry-utility from sticky postYep, the post is definitely sticky and its my main post page.
I have solved it by adding the same if/endif aroud the entry-meta
<?php if( !is_sticky() || !is_home() ) :?> <?php endif;?>
Not sure if this is good coding practice.
Forum: Fixing WordPress
In reply to: Remove entry-utility from sticky postI’ve moved my
<?php endif;?>
to wher you have and i now have my sidebar back but the entry-meta is still showing.
Can i get the meta-data into that loop to stop it from appearing in the sticky post??Forum: Fixing WordPress
In reply to: Remove entry-utility from sticky posthttps://wordpress.pastebin.com/3qLceMy4
The current loop.php is stopping my sidebar from appearing on the home page too.Forum: Fixing WordPress
In reply to: Remove entry-utility from sticky postHi esmi,
Thanks for helping me again. In loop.php i have 3 instances ofdiv class="entry-utility">
When i place the line<?php if( !is_sticky() || !is_home() ) :?>
before the 1st or 2nd instance, no posts appear. If i place it before the 3rd instance, the meta data appears as its outside that loop.
I’ve left it after the 3rd instance, can you see where i am getting muddled?
wwww.mijasguide.comForum: Fixing WordPress
In reply to: Remove meta data from static postExcellent, i worked it out esmi, thanks a lot. I think i will start reading more about the loop.
Forum: Fixing WordPress
In reply to: Remove meta data from static postHi esmi,
I’m using a child theme. Do you mean to insert the above if/else loop within the <?php while ( have_posts() ) : the_post(); ?>Not fully sure where in the loop the code goes.
Thanks
Hi Rhand,
Any success in getting this resolved?
I used your other post to enter ‘Location:’ ‘Date:’ and ‘Time:’ and to sort the events on the main event page so thanks for that.
It seems strange that this information is not displayed on the single event posts.
Also, can you get thumbnail images to display on the main event page?
David
https://www.mijasguide.com/eventsForum: Themes and Templates
In reply to: autofocus – Remove metadata from postHi albesan,
Can you open a new thread and also put a link to your site so we can have a look and see whats missing.
Forum: Fixing WordPress
In reply to: br or nbsp ???yep, that was it, one end tag needed, all sorted, thanks.
Forum: Fixing WordPress
In reply to: How to remove "This post is also available in: Spanish"Its in the widget options, doh
Forum: Themes and Templates
In reply to: how to reduce content widthAll sorted, putting the sidebar outside just didnt work for me. I kept it outside but reduced the width of the content and it seemed to do the job.
Thanks esmi