yetimade2
Forum Replies Created
-
Forum: Plugins
In reply to: [Lazy Load] [Plugin: Lazy Load] All Images Go BlankOkay – I deactivated and re-activated the plugin, and they showed up.
BUT NOW
The images are all loading once the page is loading; they are not loading one at a time, as I approach them in the viewport.
Any ideas?
I’m noticing support works fine in the write post screen, however it simply does not show the thumbnail using any of the instructions provided. Thoughts, ideas or suggestions would be appreciated.
– JC
Chris,
This plugin seems really great, but after following the instructions posted in the Installation and FAQ section of the plugin page on WordPress.com, it’s still not working. I am using the code exactly as it is written in those instances; also, I’ve reviewed the other support topics related to this plugin and have found no success. Is there something that I’m missing?
Thanks,
JCForum: Plugins
In reply to: [Query Posts] Post Categories don't workI should also mention that this plugin seems to be pretty good, aside for this issue.
Forum: Plugins
In reply to: Override core function without hackThat article doesn’t do anything when applied to this situation.
But, dude – surfgatinho – that works! Dude, I owe you one!!!
How did you figure this out? If you could post how you figured this out – train of thought, and give a little explanation, that would be amazing. And, let me know if there’s any way that I can help you with anything!
Thanks!
JCForum: Themes and Templates
In reply to: How do you overwrite a core function?See, sorta similar.
Should work, but doesn’t.
//deactivate WordPress function remove_all_actions( 'wp_get_attachment_link' ); //activate own function add_action('yetimade_wp_get_attachment_link'); //the own renamed function function yetimade_wp_get_attachment_link($id = 0, $size = 'thumbnail', $permalink = false, $icon = false, $text = false) { $id = intval($id); $_post = & get_post( $id ); if ( ('attachment' != $_post->post_type) || !$url = wp_get_attachment_url($_post->ID) ) return __('Missing Attachment'); if ( $permalink ) $url = get_attachment_link($_post->ID); $post_title = esc_attr($_post->post_title); if ( $text ) { $link_text = esc_attr($text); } elseif ( ( is_int($size) && $size != 0 ) or ( is_string($size) && $size != 'none' ) or $size != false ) { $link_text = wp_get_attachment_image($id, $size, $icon); } else { $link_text = ''; } if( trim($link_text) == '' ) $link_text = $_post->post_title; return apply_filters( 'wp_get_attachment_link', "$link_text", $id, $size, $permalink, $icon, $text ); }
You guys get anywhere with yours?
Forum: Themes and Templates
In reply to: How do you overwrite a core function?I’ve been trying to overwrite this for two hours.
remove_all_filters(‘the_attachment_link’, ‘wp_get_attachment_link’);
remove_all_actions(‘the_attachment_link’, ‘wp_get_attachment_link’);
remove_action(‘the_attachment_link’, ‘wp_get_attachment_link’);
remove_action(‘wp_get_attachment_link’);I’ve tried EVERYTHING. Nothing works.
So, if anyone answers to this, it will help both of us.
– JC
Forum: Themes and Templates
In reply to: Register Sidebar for FooterI should mention that WordPress absolutely hates any code I add to this functions document. It has a complete,total, and utter conniption fit and breaks.
Forum: Fixing WordPress
In reply to: wp_nav_menu CSS ConfusionAlso, I should mention my website address – yetimade.com