TuneInTokyo
Forum Replies Created
-
Works perfectly!!!
Nice work Chouby!
Brilliant!!!
Ahhh, good work! I’m very excited for the next release!
i have temporarily gone back to 0.51.
archive links are now working again.must be something in the 0.6 version i guess?
I just noticed another strange problem…my archive links have disappeared. Any call to wp_get_archives doesnt work and it seems like next_posts_link and previous_posts_link dont work either on those pages.
It seems to have broken since the last polylang update i think.i disable all plugins…the archive and next/previous links are there.
i leave everything disabled and reactivate polylang…the links are gone.could this be something i have done in my theme or settings, or could my install of polylang be broken somehow? or perhaps my wordpress install?
everything else seems to be working perfectly though. very confusing.
That is very strange. Must be a conflict with another plugin or something.
It doesnt even seem to work randomly for me.Thanks Chouby!!
As you said, my fix is okay for the time being, i’ll test further when you release the next version.That’s strange.
I tried disabling polylang and the class was no longer applied incorrectly, that is the only reason i thought it was was something to do with this plugin.
Yeah, i did a bit of a hack to hide that style on the affected pages.
If you have a look at the source code, you should be able to see that the class is still being applied to the home tab, when it shouldnt be.
That old link may not work now, try this one instead.
I think it may have been. I didnt notice this problem before the last update.
Hey Chouby,
Just thought i would let you know, there is another small bug related to this problem.
‘current_page_item’ is now added to the homepage link on archive pages on all languages.
you can see the problem here.
That makes sense, thanks for your help.
I decided not to implement the toc on the that specific page so its not a problem anymore.
But if that functionality made it into the plugin i would certainly use it.
I see that its now working with the new update!
Brilliant! Thanks so much for you help and hard work!Forum: Plugins
In reply to: [Quotes Collection] [Plugin: Quotes Collection] Get id of displayed quoteI have found a workaround by directly querying the database, but i would prefer not to have to do this.
My solution:
$offset = $wpdb->get_var("SELECT FLOOR(RAND() * COUNT(*)) FROM wp_quotescollection"); $random_quote = $wpdb->get_row("SELECT * FROM wp_quotescollection LIMIT $offset, 1");
Then i can echo $random_quote->quote_id etc.
That’s exactly right. Yeah, i think it uses the fallback wp_page_menu().
That would be brilliant, thanks so much!
That is strange. No, i just wp_nav_menu() with an argument of ‘show_home’ = true, to draw the menu. All the items in the menu are pages. And it works fine on the english home page, which is why i thought it could be to do with polylang.
That is the strangest part, and the classes like ‘home’ dont get applied to the body either. But on english home, they are applied as expected.
I dont think i have any plugins that would be interfering (i just tested the site with all my plugins deactivated except polylang and i seem to get the same result. That is: no classes are assigned to the ‘inicio’ main-menu link.) So i’m thinking its not another plugin.