WordPress.org

Ready to get started?Download WordPress

Forums

My Calendar
[resolved] Seeing Double (14 posts)

  1. Pafruu
    Member
    Posted 1 year ago #

    Hello,

    when using the shortcode :

    [my_calendar category="all" format="calendar" showkey="yes" shownav="yes" showjump="no" toggle="no" time="month"]

    my calendar is being doubled.

    however, if I remove the nav declaration or put it to "no". I only see it once.

    Thing is I still want to use the "nav" feature.

    anyone have any ideas as to what is happening? Why is my calendar being duplicated?

    http://wordpress.org/extend/plugins/my-calendar/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    Not a clue. If you could post a URL or submit a support request via the built-in request form, I could better help you. That's definitely a novel issue...

  3. Pafruu
    Member
    Posted 1 year ago #

  4. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    So, it looks like the entire div with class content is being duplicated - which means that the duplication is actually outside of My Calendar. Which is really, really weird. It's like turning the nav on is triggering a repeat of the content loop in your WordPress installation. I'll research this; I suspect it has something to do with some kind of very weird conflict between your theme and My Calendar -- is that a standard theme, or custom? If it's custom, is it based off of a standard theme that I could download and experiment with?

  5. Mary Makowsky
    Member
    Posted 1 year ago #

    Hello,

    I am actually having this same issue. Not sure if this will help but here is my site:
    http://honuco.com/calendar/

    And here is the theme I am using:
    http://smthemes.com/simpleone/

    Thank you!

  6. Mary Makowsky
    Member
    Posted 1 year ago #

    P.S. I am just using the simple [my_calendar] shortcode in the page referenced above.

  7. Pafruu
    Member
    Posted 1 year ago #

    The theme is called striking, Im using the provided child-theme that comes with it

  8. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    So, I was able to reproduce this simply by installing SimpleOne and viewing my dev My Calendar site; so this is definitely something caused by the theme. I'll explore it, and see if I can compensate for it, but it may be a theme issue. I'll let you know.

  9. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    This is a theme issue. The theme is calling a completely unnecessary call to query_posts() in the loop, which is triggering a duplication of the calendar.

    I can implement a fix for this, but it's utterly a hack for me to do so; it's not a problem in My Calendar. I recommend commenting out or deleting the call to query_posts() in the theme file theloop.php in SimpleOne.

    It's likely the same issue in striking, but I can't say for certain, without seeing the theme code.

  10. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

  11. esmi
    Forum Moderator
    Posted 1 year ago #

    If you mean http://themeforest.net/item/striking-premium-corporate-portfolio-wp-theme/128763 then this really ought to be deal with via the theme's developer. FWIW, I've tagged this for the attention of the Envato/Themeforest admins.

  12. Mary Makowsky
    Member
    Posted 1 year ago #

    I'll comment it out. Thank you so much!

  13. Pafruu
    Member
    Posted 1 year ago #

    Thank you Joe and thank you esmi, I will go have a look on the developers page.

  14. Mary Makowsky
    Member
    Posted 1 year ago #

    Just wanted to confirm that commenting out the query_posts() line in theloop.php worked. Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic