|
#1
Apr 19, 2013, 01:00 AM
|
|
This is a clean install of WP 3.5.1 and I have attempted 2 versions 1.1.4 and 1.1.8
The posts thumbnail shown with no shadow and box. Just an image.
Can you help to advise?
Thanks.
-------
This is the HTML from the demo. "thumb-shadow" and "post-thumb" classes are wrapping the thumbnail.
<div class="thumb-shadow">
<div class="post-thumb">
<a href="http://test.bytesforall.com/2012/08/another-post-with-all-kinds-of-things-in-it-and-a-long-title-too-to-see-how-wrapping-of-long-titles-works-in-this-theme/">
<div class="img_wrapper" style="display: block; width: 592px; height: 172px;">
<span/>
</a>
</div>
</div>
-----
This is HTML from my post. Image wrapped in A tag and come right after the H2 tag
...
</a>
</h2>
<a href="http://localhost/wordpress/?p=21">
<img src="http://localhost/wordpress/wp-content/uploads/2013/04/office-lunch-620x180.jpg" width="620" height="180"/>
<span/>
</a>
|
#2
Apr 19, 2013, 04:54 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
the thumbnail shadow and color change has been removed because it was causing issued (see this thread for the original reporting of the issue)
Hopefully the developer will figure out the issue and it will be back in a future release.
|
#3
Apr 20, 2013, 01:00 PM
|
|
Hello. It has always worked. It no longer works now. I have modified the code, long time ago. But it does not help.
Code:
<div id="post-<?php the_ID(); ?>" <?php post_class( 'cf' ); ?>>
<h2>
<span class="post-format"></span>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a>
<?php bfa_comments_popup_link( '0', '1', '%' ); ?>
</h2>
<?php bfa_thumb( 620, 180, true, '', '' ); ?>
<div class="post-bodycopy cf">
<div class="post-date">
<p class="post-month"><?php the_time( 'M' ); ?></p>
<p class="post-day"><?php the_time( 'j' ); ?></p>
<p class="post-year"><?php the_time( 'Y' ); ?></p>
</div>
<?php bfa_excerpt( 55, ' ...' ); ?>
</div>
<div class="post-footer">
<a class="post-readmore" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
<?php _e( 'read more →', 'montezuma' ); ?></a>
<p class="post-categories"><?php the_category( ' · ' ); ?></p>
<?php the_tags( '<p class="post-tags">', ' · ', '</p>' ); ?>
</div>
</div>
What can i do now?
|
#4
Apr 20, 2013, 02:15 PM
|
|
Thanks a lot. Looking for a beautiful update coming soon...
Quote:
Originally Posted by juggledad
the thumbnail shadow and color change has been removed because it was causing issued (see this thread for the original reporting of the issue)
Hopefully the developer will figure out the issue and it will be back in a future release.
|
|
#5
Apr 20, 2013, 06:39 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
It looks like this is fixed in version 1.1.9 which is currently in the WordPress theme review queue.
If you want to jump the gun, you could download it at http://wordpress.org/extend/themes/d....zip?nostats=1
|
#6
Apr 20, 2013, 09:51 PM
|
|
Unfortunately, the problem still exists.
It's a fresh and clean Wordpress-Install. Without Plugins, without changes, ...
|
#7
Apr 21, 2013, 03:15 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
what browser are you using?
What is the URL?
did you reset the postformat.php virtual template? if not please reset it.
Last edited by juggledad; Apr 21, 2013 at 03:52 AM.
|
#8
Apr 21, 2013, 08:21 AM
|
|
Hey.
Internet Explorer: 10.0.9200.16540
Google Chrome: Version 26.0.1410.64 m
URL: Show private Message
Quote:
/httpdocs/montezuma/wp-content/themes/montezuma/admin/default-templates/sub-templates
|
-> The patch doesn't help.
|
#9
Apr 21, 2013, 04:29 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
if you use this
HTML Code:
<?php bfa_thumb( 620, 180, true, '', '' ); ?>
you will get no shadow, try
HTML Code:
<?php bfa_thumb( 620, 180, true, '<div class="thumb-shadow"><div class="post-thumb">', '</div></div>' ); ?>
|
#10
Apr 21, 2013, 11:10 PM
|
|
I have already changed. Unfortunately it still doesn't work.
|
#11
Apr 22, 2013, 04:43 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
If you send me a pm with an admin ID/pw I'll take a look.
Last edited by lmilesw; Apr 22, 2013 at 01:19 PM.
|
#12
Apr 22, 2013, 12:45 PM
|
|
That's very nice of you! Thank you.
|
#13
Apr 22, 2013, 04:06 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
take a look now it is working. Notice that the bfa_thumb looks like this
HTML Code:
<?php bfa_thumb( 620, 180, true, '<div class="thumb-shadow"><div class="post-thumb">', '</div></div>' ); ?>
but if you reset the template it shows as this
HTML Code:
<? Php bfa_thumb (620, 180, wahr, '<div class = "thumb-shadow" > <div class = "post-thumb" > ',' </ div> </ div> ');?>
note the space in the '<? php' that is invalid, the capital 'P', the replacement of the word 'true' with 'wahr', the space in the '</ div>'
something is messing with the code.
Last edited by juggledad; Dec 9, 2014 at 05:50 PM.
|
#15
Apr 22, 2013, 08:39 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
look at the example bfa_thumb I show and then what you have in that other site. Compare them character by character
|
#16
Apr 22, 2013, 08:59 PM
|
|
I don't understand what you mean.
I compare both versions? I did that...
//EDIT:
I downloaded all the files (Theme montezuma) from name.tld/montezuma to name.tld/wordpress and uploaded it. The problem is still there.
There are no differences between name.tld/montezuma and name.tld/wordpress. Are both newly installed versions.
Last edited by iTaskmanager; Apr 22, 2013 at 11:51 PM.
|
#17
Apr 23, 2013, 12:26 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Go back to post #13 in this thread and look at the two lines of code I put there. Now what differences do you see between them?
|
#18
Apr 23, 2013, 01:20 PM
|
|
The difference is: - Use "<? Php" instead "<?php"
- "wahr" instead "true"
- "(620" written together
- Div-Class apart with spaces
I use this code. But it's doesn't work.
Code:
<? Php bfa_thumb (620, 180, wahr, '<div class = "thumb-shadow" > <div class = "post-thumb" > ',' </ div> </ div> ');?>
I just don't understand...
|
#19
Apr 23, 2013, 01:43 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
So that doesn't work, did you try the other?
|
#20
Apr 23, 2013, 01:50 PM
|
|
I have tried all the codes.
If this path is still correct?
Code:
/httpdocs/wordpress/wp-content/themes/montezuma/admin/default-templates/sub-templates
Last edited by iTaskmanager; Apr 23, 2013 at 01:54 PM.
|
#21
Apr 24, 2013, 05:31 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
let me try this again. go to the virtual template 'postformat.php' and replace the line
HTML Code:
<? Php bfa_thumb (620, 180, wahr, '<div class = "thumb-shadow" > <div class = "post-thumb" > ',' </ div> </ div> ');?>
with
HTML Code:
<?php bfa_thumb( 620, 180, true, '<div class="thumb-shadow"><div class="post-thumb">', '</div></div>' ); ?>
for what ever reason, your site is adding spaces and translating the word 'true' to 'wahr' and together those changes are causing your issue.
|
#22
Apr 25, 2013, 11:51 AM
|
|
Hello.
I have reinstalled WordPress again. Unfortunately it still does not work.
Would you look again for me?
|
#23
Apr 25, 2013, 12:26 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
I'll be happy to go look again but I'll have to charge you. I've explained what is wrong and how to fix it multiple times. Sorry but I can't give you any more of my time for free.
|
#24
Apr 28, 2013, 05:44 PM
|
|
I do not know why, but it works again. Just like that.
I thank you for your help!
|
|