Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • I have been avoiding this update because the last update of this plug-in crashed our site. It sounds as if this version is also problematic.

    I have been getting an internal server error, and one of the possible reasons is a plug-in problem. I am still running 1.10.11 of this calendar.

    Any thoughts on whether failing to update the All in One Event Calendar to 2.0.5 could be causing problems?
    https://blogforarizona.net/calendar-2/

    Jashan–

    That worked. Thanks!

    pam

    mwhoyle, I edited the WP code as you suggested, but when I updated the file, WP said no data was sent.

    // unset( $plugins->active[ array_search( $basename, $plugins->active ) ] );

    didn’t work when I put it in the calendar plug-n code.

    Trying FTP next.

    Thanks, everyone.
    pam

    Thanks, everyone.

    mwhoyle, I saw the code in Word Press and wondered why I had to go to FTP to correct this. Glad to know that I can fix it in WP.

    Working on this later today. Wish me luck. ??

    I am kicking myself for upgrading the all-in-one calendar today. I see that I am not the only one who has gotten this error…

    Warning: array_search() expects parameter 2 to be array, object given in /home/content/90/12199590/html/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 160
    
    Fatal error: Cannot use object of type stdClass as array in /home/content/90/12199590/html/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 160

    The plug-in said it installed successfully, but on the plug-in page this error appears.

    I have no idea what you are talking about “commenting out line 160” and I’m not sure what you mean about FTP’ing the site to fix it.

    This calendar is on a group blog with tons of events. I don’t want to lose what is in there.
    https://blogforarizona.com

    pam

    Thread Starter p2hannley

    (@p2hannley)

    Alex,
    I appreciate your help so much. I finally got all of this to work.

    The raw HTML (with the shortcode for getting the most recent post by author, a photo, and the author’s name) worked when pasted into the footer.php of our template. Unfortunately, it never worked in the text widget. My theory is that there was a conflict with our template because when the shortcode was in function.php and the html was in the text widget, the proper information displayed– but the other elements of the template were pushed to the bottom of the page. Regardless of where I put the text widget with html, it affected the rest of the template.

    I got the author/post/pic to display properly and where I wanted it(in the feature area of the template) by putting the raw html into sidebar.php.

    It looks great! Thanks for everything.

    pam

    Thread Starter p2hannley

    (@p2hannley)

    Thanks so much. I sent it.

    Thread Starter p2hannley

    (@p2hannley)

    OK, that all worked but then the admin said that he wanted the recent author posts in the top featured widget instead of in the bottom html code.

    One of the articles that you sent me said to put the short code in the function php.

    I had no idea WHERE to add the code, so I added this code (recommended by one of the articles that you suggested) to the Area 3 featured widget.
    add_filter( ‘widget_text’, ‘shortcode_unautop’);
    add_filter( ‘widget_text’, ‘do_shortcode’);

    I got this error.
    Parse error: syntax error, unexpected ‘;’, expecting ‘)’ in /home/content/90/12199590/html/wp-content/themes/coraline/functions.php on line 263

    I deleted the two lines of code and I still get the same error!!! I didn’t copy the original code. (Yes, KICKING MYSELF.)

    The area where I added the code looks like this now. (I added and deleted the short code after the “description” section.)

    // Area 3, located above the primary and secondary sidebars in Content-Sidebar-Sidebar and Sidebar-Sidebar-Content layouts. Empty by default.
    register_sidebar( array(
    ‘name’ => __( ‘Feature Widget Area’, ‘coraline’ ),
    ‘id’ => ‘feature-widget-area’,
    ‘description’ => __( ‘The feature widget above the sidebars in Content-Sidebar-Sidebar and Sidebar-Sidebar- Content layouts’, ‘coraline’ ),
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget-container %2$s”>’,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );

    ACK! Please help.

    pam

    Thread Starter p2hannley

    (@p2hannley)

    Thanks. It looks as if the code didn’t work yesterday because it got corrupted when I pasted it. I cleaned up the odd characters, and now works.

    I’ll check out the link about using the code with a widget.

    I also thought that I could create a table and put each author in a cell of the table in the footer.

    pam

    Thread Starter p2hannley

    (@p2hannley)

    There are 3-4 footer slots available in the footer. (Currently, I have Twitter feeds roughed out for 3 of them and links to author bios in #1.)

    Ideally, I’d like to have at least 3 of those footer areas with author names and the most recent post. (We have like 9 authors on this blog, so I don’t want a big long strip in just one footer section.)

    Thanks so much.

    pam

    Thread Starter p2hannley

    (@p2hannley)

    Here are the guts of the footer code. Thanks!!!!

    </div><!– #content-box –>

    <div id=”footer” role=”contentinfo”>
    <?php get_sidebar( ‘footer’ ); ?>

    <h3>cpmaz</h3>
    <?php echo do_shortcode('[latestbyauthor author="cpmaz" show="1"]'); ?>

    <h3>p2h</h3>
    <?php echo do_shortcode('[latestbyauthor author="p2h" show="1"]'); ?>

    <h3>mbryanaz</h3>
    <?php echo do_shortcode('[latestbyauthor author="mbryanaz" show="3"]'); ?>

    <div id=”colophon”>
    <?php printf( __( ‘Theme: %1$s by %2$s’, ‘coraline’ ), ‘Coraline’, ‘Automattic.’ ); ?> <span class=”generator-link”>” title=”<?php esc_attr_e( ‘A Semantic Personal Publishing Platform’, ‘coraline’ ); ?>” rel=”generator”><?php printf( __( ‘Proudly powered by %s.’, ‘coraline’ ), ‘WordPress’ ); ?></span>
    </div><!– #colophon –>
    </div><!– #footer –>

    Thread Starter p2hannley

    (@p2hannley)

    I pasted that in the footer and the code shows.

    We’re getting close.

    Here is the development site.
    https://blogforarizona.net/

    Thank you so much.

    pam

    Thread Starter p2hannley

    (@p2hannley)

    I am looking for a plug-in that will display the author’s name and that author’s most recent post– or display each author’s name and the most recent post from each author.

    I misspoke when I said “widget”. I really appreciate your help.

    pam

    Thread Starter p2hannley

    (@p2hannley)

    OK. I put this:
    <?php echo do_shortcode(‘[latestbyauthor author=”cpmaz, p2h, mbryanaz” show=”3″]’); ?>

    in the footer, thinking it would display the 3 most recent posts for these 3 authors in the code.

    In the #4 slot of the footer, 3 posts from 3 different authors– not the people listed in the above code– displayed. Earlier I had tried putting [latestbyauthor] as a tag on three posts. That is what came up on the list on the page.

    I thought with the widget that it would identify the author and give the latest posts. Is this not the case?

    I’m getting closer. Thanks for your help.

    pam

Viewing 14 replies - 1 through 14 (of 14 total)