lovduv
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Store Locator] Search by Store NameHi Tijmen!
I would really like to try this out as well…I sent you an email, but saw there were a few issues with emails so I figured I would post a request here as well.
Love this plugin, great work with all of the new features allowing for custom additions!
Thanks!
Forum: Plugins
In reply to: [Contact Form 7] Form does not send on iPhone (works in all other browsers)I am also having this issue!
Is there a plan to address in a future update?
Thanks!
MissyThe fixed code worked for me as well!
Forum: Plugins
In reply to: WordPress 3.1 and WishList Member Plugin – Problem!Hi,
I had the same issue…just add the below to your functions.php file in your theme.
add_filter( 'show_admin_bar', '__return_false' );
Forum: Fixing WordPress
In reply to: Featured Image LinkThank you kind sir! ; )
Forum: Fixing WordPress
In reply to: Featured Image LinkI worked out ceopowertools request…he needed something a bit different, but what I did discover in working on his…all you really need to accomplish an external link on a featured image is two of the above lines from there you can be as complex or as simple as you want. : )
This will pull your link from the custom field “featured_external”:
<?php $key="featured_external"; $custom = get_post_meta($post->ID, $key, true); ?>
This will create the link when wrapped around wherever you call the featured image:
<a>ID, $key, true); ?>" title="<?php the_title(); ?>"> <?php the_post_thumbnail(); ?> </a>
Forum: Fixing WordPress
In reply to: Featured Image LinkHi,
Sure, but depending on the complexity of what you need (i.e if it’s easy), I may just do it for free, cuz I am awesome like that…lol…
Send me an email with your url and what exactly you are trying to accomplish and we will go from there… support at achievementwebsolutions dot com
Forum: Fixing WordPress
In reply to: Featured Image LinkOk I did it ??
So here is what I did:
I added a custom field called “featured_external” for name and then I put the url I want to link to in for value.
Then I added this chunk of code where I want my featured images to show…This works because I test for the existence of content in the post…so for it to work you must set the featured image and have NO content…one word in the post and your image will link to the post…There may be a better more elegant way to do this, but it worked for me…
<?php query_posts( 'cat=Featured&posts_per_page=5' ); if( have_posts() ) : while( have_posts() ) : the_post(); ?> <?php $key="featured_external"; $custom = get_post_meta($post->ID, $key, true); ?> <?php if(has_post_thumbnail()) { if($content = $post->post_content ) { ?> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php the_post_thumbnail(); ?> </a> <?php } else { ?> <a href="<?php $key="featured_external"; echo get_post_meta($post->ID, $key, true); ?>" title="<?php the_title(); ?>"> <?php the_post_thumbnail(); ?> </a> <?php } ?> <?php } ?> <?php endwhile; endif;?>
Now this works for MY theme which has a slideshow with the most recent 5 posts, you will need to adapt for yours but this example should get you there : )
Forum: Fixing WordPress
In reply to: Featured Image LinkOk definitely think this is possible using custom fields…set the field with the url, then use the if/else statement for link…working on it!
Forum: Fixing WordPress
In reply to: Featured Image LinkI am trying to do this as well…I will post if I find anything.
Here is what I have currently and what I want to do…
Using a “featured” slideshow on home page that pulls images and captions from my “featured” category and displays both in the slideshow. I would like to use external as well as internal links i.e if I have a post that corresponds with the image than it will link to the post…if there is no content then it will use the link url in settings….barring an easier solution…I see it working by using an if statement to check for the existence of content then if content exists use post url else if none use the link url set in the image properties…trying to find out now how wordpress calls the set link for an insert post maybe that will shed some light
This post discusses https://www.doc4design.com/articles/if-content-exists/ checking if the_content exists for theme structure…I think a modified version of this *could* work…seeing what I can come up with. ??
Forum: Themes and Templates
In reply to: WordPress 3.0 menu-item…different image based on idalchymyth I could KISS you!!!
Indeed this worked:
#my-menu #menu-item-31.current-menu-item a {background: url(images/rounded-corner-31.png) no-repeat;}
My brain was fried last night and the 3.0 menu system so new to me I just couldn’t get the css right and the obvious just wasn’t popping out to me…sometimes it just takes fresh eyes … lol and that is why I posted…
Thanks You!
Forum: Plugins
In reply to: [Plugin: Yoast Breadcrumbs] Remove from specific pages..Just in case anyone is looking for this fix. The code below will remove Yoast Breadcrumbs from the page specified:
<?php if (is_page(your-page-slug)) { echo ''; } else { if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('',''); } } ?>
…and this one will remove it from your home page and a page you specify, which is what I needed ; )
<?php if (is_home()) { echo ''; } else if (is_page(your-page-slug)) { echo ''; } else { if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('',''); } } ?>
Just replace your-page-slug with the slug for the page you DO NOT want the breadcrumbs to show up on…
: )