WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] Custom circles alternate with posts (43 posts)

  1. scm
    Member
    Posted 3 months ago #

    I have successfully created custom circles but can't get them to alternate with my circles that link to posts. I have tried changing the post dates, but it doesn't make a difference. So, right now I have a row of posts (which I can change the order of) and then a row of custom circles.

    Does anyone know if there's a way to get the post circles and custom circles to alternate with each other?

    Thanks much.

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 months ago #

    I have successfully created custom circles

    how? please post the full code.

  3. scm
    Member
    Posted 3 months ago #

    I used the technique posted by Andrew Nevins (big thanks!), that can be found here:

  4. scm
    Member
    Posted 3 months ago #

  5. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 3 months ago #

    I did write a way to change the order of custom circles and it's muddled up in a thread or two somewhere.

    I'll try to fish this out later and create a proper guide.

  6. scm
    Member
    Posted 3 months ago #

    I think I know what you're referring to. I did see a thread but I thought it would only reorder the custom circles and not the post circles. I will take another look and give it a shot later today.

    Thanks for all your help on here.

  7. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 3 months ago #

    I did see a thread but I thought it would only reorder the custom circles and not the post circles

    Sorry, to clarify is this what you want?

  8. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 3 months ago #

    I think I understand what can be confusing here.

    The code I wrote reorders the Custom Circles, and that re-ordering does affect the normal circles.

    For example your Custom Circle can be last on the page by default, then you can give it an order of "1" and it'll be first on the page; moving all normal circles along one position to the right.

    What I've restricted to the Custom Circles is the ability to enter the order. The field to enter the order only appears on a custom circle.

  9. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 3 months ago #

    I did see a thread but I thought it would only reorder the custom circles and not the post circles.

    Be careful when following some of these guidelines. Sometimes my answers are specific to the person's situation. Sometimes suggestions made in one of those threads will not work for your situation.

  10. scm
    Member
    Posted 3 months ago #

    So, I gave some things from this thread a try: http://wordpress.org/support/topic/custom-circles-order?replies=28

    Unfortunately, it didn't work out for me. Let me know if you had a different thread in mind or any other ideas.

    Thanks.

  11. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 3 months ago #

    Can you link your site?

  12. scm
    Member
    Posted 3 months ago #

    Thanks Andrew. Sorry I couldn't respond for a couple days. The site is setonandsean.com and the password is "permission."

    Thanks for any advice you can give.

  13. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 3 months ago #

    Which circle did you apply the order to?

  14. scm
    Member
    Posted 3 months ago #

    I applied the order to custom circles I created - although now I see that the custom circles aren't currently showing. That's a new problem I'll have to take a look at. I currently have two custom circles created. You can see below the first two circles that the cursor changes - that's where they are although you can't see them.

  15. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 3 months ago #

    I'll have to investigate later.

  16. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 3 months ago #

    What's in your content-custom-circles.php file?

  17. scm
    Member
    Posted 3 months ago #

  18. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 3 months ago #

    Try replacing all of that code with the code from this PasteBin page: http://pastebin.com/mdiA7wiZ

  19. scm
    Member
    Posted 3 months ago #

    Ok, done. The custom circles still aren't showing up.

  20. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 3 months ago #

    Can you clear your plugin's cache and deactivate your caching plugin for now?

  21. scm
    Member
    Posted 3 months ago #

    Deactivated the plugin. I'm still figuring out how to clear the CCTM cache - may take me a little longer. Thanks.

  22. scm
    Member
    Posted 3 months ago #

    CCTM cache is now cleared as well.

  23. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 3 months ago #

    What's in your Child Theme index.php file?

  24. scm
    Member
    Posted 2 months ago #

  25. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 2 months ago #

  26. scm
    Member
    Posted 2 months ago #

    Done. When I reactivate the plugin, the custom circles still aren't showing up. Later today I will try uninstalling the plug in and re-do the custom circle process to start fresh.

  27. scm
    Member
    Posted 2 months ago #

    Andrew, I got my custom circles working again. You'll see that they're just pictures - that's my intent. I also created the "order" custom field for the custom circles but I have NOT changed any code yet because I thought I'd check in with you to see if you have any thoughts about the best way to get the custom circles to now alternate with the posts. Thanks again for your help.

  28. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 2 months ago #

    I would try doing the steps outlined in this post:
    http://wordpress.org/support/topic/custom-circles-order?replies=28#post-5097676

  29. scm
    Member
    Posted 2 months ago #

    It worked!! Thanks for confirming that your previous solution would work and encouraging me to try again.

  30. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 2 months ago #

    Yes, I don't know what went wrong the first time. Sorry about that.

Reply »

You must log in to post.

About this Theme

About this Topic