Jim Bob
Forum Replies Created
-
I have a similar problem.
<url> <loc>/plants-vs-zombies-2-review-4/</loc> <lastmod>2013-11-08T01:33:30+00:00</lastmod> <changefreq>weekly</changefreq> <priority>0.6</priority> <image:image> <image:loc>http://blog.domain.com/wp-content/uploads/2013/10/plantsvszombies2.jpg</image:loc> <image:caption>Plants vs Zombies 2</image:caption> </image:image> </url>in the LOC, why isn’t it putting the blog url infront? This is causing an issue when I submit the sitemap in Webmasters.
Forum: Themes and Templates
In reply to: Please help with Image ReflectionCan you show me the code that you used to shrink the image.
Forum: Themes and Templates
In reply to: Please help with Image ReflectionSee how in this image the size of the picture changes
Forum: Themes and Templates
In reply to: Please help with Image ReflectionThat doesn’t resize the image, it only changes how much of it is shown.
By changing the width/height only shows more or less of the image, it doesnt change the actual image.
Forum: Themes and Templates
In reply to: Please help with Image ReflectionU mean like resize it in photoshop
Forum: Themes and Templates
In reply to: Please help with Image ReflectionYes, I can but that doesn’t resize the image, it just sets the boundry.
See the picture on the top is the one with the style, if I set width/height to it, then the image doesnt get resized, only the amount shown for the image is changed.
Whereas on the picture on the bottom actually gets resized as in it getes smaller with the correct aspect ratio.
PS (those are both linking to the same image URL, just different css style)
Forum: Themes and Templates
In reply to: Please help with Image ReflectionIf I set a width or a height, it actually cuts the image to that width/height. What I want it to do is to resize the image (with the reflection) as in shrink the image with its correct aspect ratio.
Forum: Themes and Templates
In reply to: Please help with Image ReflectionThis is suppose to be the picture but its getting cut after applying the css style since its not “resizing.”
http://applenapps.com/wp-content/uploads/2011/08/iphone_4_colors.jpg
Forum: Themes and Templates
In reply to: Please help with Image ReflectionForum: Themes and Templates
In reply to: Please help with Image ReflectionYes, I’ve tried that, the problem is the image shows up under the <span> but not the one that has the <img> tag. And thats because <img> also has opacity of 0 but if I change these settings then I loose most of the other effects such as rounded borders.
Forum: Fixing WordPress
In reply to: Combine these two codes for me pleaseThank you for the code. Really that was very helpful thanks a lot.
— and anyone else who might use this code… you can adjust where to show the custom field by editing this 000 at the end. Use the “1” if you want it immediately after the text of the content.
add_filter('the_content', 'add_post_content', 000);Forum: Fixing WordPress
In reply to: Combine these two codes for me pleaseThat didn’t work.. The original one you sent me worked fine, the only thing I want to change is for it to be a link with href tag.
Forum: Fixing WordPress
In reply to: Combine these two codes for me pleaseI’m running into one small problem… I modified the code so that the .$source[0]. shows up as a link but then it shows up on posts that dont the custom field of cf_source. If I use the code that you have me it works fine its just that when I make the changes it gives that problem. Can you please so me how I can have the code you gave me come up as a href if it exists if not, it should be empty. Thanks.
Forum: Fixing WordPress
In reply to: Combine these two codes for me pleaseTHANK YOUU! I think that’s a very good code for anyone who is trying to load custom fields through a function…
here is the final code that I’m using after slightly modifying yours to show the $source as a link.
function add_post_content($content) { if(!is_feed() && !is_home() && !is_search()) { $source = get_post_custom_values("cf_Source");if ( !empty($source) ) { $content .= '<a href="'.$source[0].'">Click Here to read more</a>';} else { $content .= '';}} return $content; } add_filter('the_content', 'add_post_content');Thanks again tiaanswart.
Forum: Fixing WordPress
In reply to: Combine these two codes for me pleaseThanks, that similar to what I’m looking for.. Do you know how to output
<?php $source = get_post_custom_values(“cf_Source”);if ( !empty($source) ) {echo ” . $source[0].”;}else { echo ”;}?>
via the $content ??