Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • I am getting this error as well. It appears on every page of my site regardless of whether or not I am using the Easy Columns shortcode.

    Notice: Undefined property: EasyColumns::$use_custom in /wp-content/plugins/easy-columns/easy-columns.php on line 233

    Also duplicate of this post from 2 months ago. Also mentioned in #5 on this post a year ago.

    Easy Columns Version v2.1.3
    WordPress v4.0

    I am wondering this as well. I have been playing around with the actions and such for the plugin, but nothing I do is working. In my functions.php I have tried:

    function remove_post_columns($columns) {
    	unset($columns['wpmem_block']);
      return $columns;
    }
    add_filter('manage_posts_columns', 'remove_post_columns');

    And when that didn’t work I also tried:

    function remove_post_columns($columns) {
    	unset($columns['wpmem_block']);
    	return $columns;
    }
    
    add_action( 'wpmem_after_init', 'my_init_function' );
    function my_init_function() {
    	add_filter('manage_posts_columns', 'remove_post_columns');
    }

    Maybe I am doing things in the incorrect order or using the wrong hooks, but some guidance would be appreciated!

    Does anyone know of a way to do this without hacking the plugin?

    Sammiikins

    (@sammiikins)

    I had the same error appear in my error_log!

    [06-Mar-2014 03:36:35 America/Denver] PHP Fatal error: Call to undefined function plugin_basename() in /xxxxx/xxxxx/public_html/wp-content/plugins/contact-form-7/wp-contact-form-7.php on line 35

    I didn’t receive any form-generated emails that day so not sure what’s up. Maybe a spammer?

    Contact Form 7 Version 3.6

    I am having this issue as well! Any word from the developer? Plugin works great otherwise.

    I would like to request this functionality as well please!

    I am also having this problem … none of the post content is actually being trimmed because it’s too short, but the ellipsis and “Read More” link are still showing up.

    Plugin Version 4.1.1
    Wordpress Version 3.4.2

    Thread Starter Sammiikins

    (@sammiikins)

    This is very strange because I tested it on my localhost version where I hadn’t updated any plugins for a while, and it seemed to be working fine. I gradually started to update my localhost version to try and pinpoint the problem and it seems to have begun randomly. I updated to version 1.7.2 of this plugin and it still worked. I updated to WordPress version 3.4.2 and it still worked. I installed a missing plugin (Ambrosite Next/Previous Post Link Plus 2.4) and that’s when the problem suddenly popped up; however when I deactivate or even delete that plugin, it still persists! I even tried disabling ALL of my plugins and it is still happening on my localhost.

    Not very useful information, I know. :/ I can’t get it to work properly and I’m not really sure why. It only happens with a non-breaking space. I can confirm that the filter is happening in the content editor though because I noticed on the taxonomy overview page, it’s showing up correctly as a line break rather than the special character.

    I am having the same issue with WordPress 3.2.1. I’ve used this plugin many times before, but on newer version of WordPress, so I wonder if that’s the issue.

    I created a new Field Group. After I hit Publish, I was redirected to a page similar to the post editor, where it just shows the name of the Field Group. It also goes to this page if I try to edit the field group. The custom field itself does seem to be working okay in the posts, though I can’t edit the field group settings.

    EDIT: After updating to the newest WordPress this issue stopped happening.

    I would definitely like this as well. My client wants to use the Follow widgets and have a counter to display the number of Followers. Works for Twitter but I don’t see one for Facebook.

    Thread Starter Sammiikins

    (@sammiikins)

    Johan you are an absolute star!! It works perfectly. Thanks so much for all your hard work. ??

    Thread Starter Sammiikins

    (@sammiikins)

    Thanks for your help. It’s too bad you aren’t able to replicate it. Seems from my testing that this part of the code is not firing:

    if ('content_block' == get_post_type()) {
                $content = the_post_thumbnail('medium');
                $content .= $original_content;
            }

    When I insert an echo in there it isn’t output anywhere.

    Thread Starter Sammiikins

    (@sammiikins)

    Hi Johan,

    I just tested it with the Twenty Eleven theme and it has the same behaviour. Here is the code output by the sidebar:

    <div role="complementary" class="widget-area" id="secondary">
    <aside class="widget widget_custom_post_widget" id="custom_post_widget-4">
    <h3 class="widget-title">Sidebar – About</h3>
    <p>Lorem ipsum dolor sit amet.</p>
    </aside>
    </div>

    And for reference, the code I pasted into functions.php; tried it at both the very top and the very bottom.

    function InsertFeaturedImage($content) {
        global $post;
        $original_content = $content;
        if (current_theme_supports('post-thumbnails')) {
            if ('content_block' == get_post_type()) {
                $content = the_post_thumbnail('medium');
                $content .= $original_content;
            }
        }
        return $content;
    }
    add_filter('the_content', 'InsertFeaturedImage');

    I also just tried deactivating ALL other plugins to no effect. ??

    Thread Starter Sammiikins

    (@sammiikins)

    Hi Johan,

    I am actually extensively using Featured Images already in my posts without issue. I’m quite familiar with how they work … my code in the first post does show that I am already using the add_theme_support function.

    add_theme_support( 'post-thumbnails' );
    set_post_thumbnail_size( 583, 999, false );
    add_image_size( 'dbl-col-img', 264, 999, false );
    add_image_size( 'img-slider', 583, 350, true );

    Also I am assuming that if Featured Images weren’t activated for the Content Block post type, I don’t think the Featured Image metabox would even be available on those posts would they?

    Thread Starter Sammiikins

    (@sammiikins)

    Hi Johan,

    I apologize if the tone of my message came across as rude; I was more confused than anything. Due to the fact that the thread I referenced was never resolved, and I am having the exact same issue as the others in that thread, all signs seemed to point to the Featured Image issue never being fixed. (Which would have been very frustrating to find out after the fact … I apologize for assuming that was the case!) I’m glad to hear the issue is with my code after all and not with the plugin, since hopefully that means it can be fixed. I really appreciate any help you can offer.

    I am working with a custom theme on my localhost. Plugin version 1.9.5. WordPress version 3.4.1. I have created a post of the Content Block type and attached a Featured Image to it. I have added a “Content Block” widget to my sidebar and selected the Content Block that I created. The title and body copy of that post show up correctly in my sidebar, but even after adding the above code to my functions.php there is no image. I tried checking/unchecking the “Show Post Title” and the “Do not apply content filters” options, just in case. Here is the code that is being output from the widget:

    <li class="widget widget_custom_post_widget" id="custom_post_widget-3">
    <h2 class="widgettitle">Sidebar – About</h2>
    Lorem ipsum dolor.</li>

    In my template file, I am calling the sidebar with:

    <?php dynamic_sidebar('Sidebar'); ?>

    In my code from functions.php, if I insert an echo after this line:

    if (current_theme_supports('post-thumbnails')) {

    The echo is output at the beginning of the_content on all of my regular blog posts and my custom post types, but not anywhere in the sidebar. If I insert another echo after this line:

    if ('content_block' == get_post_type()) {

    It isn’t output anywhere.

    Some of the other plugins that I’m using are:

    1. Advanced Custom Fields
    2. Advanced Excerpt (I just tried deactivating it but it made no difference.)
    3. Custom Post Type UI
    4. WYSIWYG Widgets

    I can’t think of anything else that could be relevant; I hope that is helpful. Thanks so much!

Viewing 15 replies - 1 through 15 (of 18 total)