Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter EliW

    (@eliw)

    Thanks bcworkz … Looks like I have it working now under a similar concept to what you proposed. Just doing some extra fancy rewrite rules to detect if it appears to be ‘only terms’ in the URL, and if so, rewrite to a tax page. Otherwise assume it’s a tour, and rewrite accordingly. At the moment, looks to work.

    Thread Starter EliW

    (@eliw)

    So I should add. That really the catch-22 seems to be, that since I can’t figure out how to just tell WP to ‘make this happen’. Is that I have to use the custom rewrite-rules. And in the end the custom rules can’t really know if that ‘final item’ is a CPT post, or a taxonomy item. Since at the rewrite level I’m only looking at the raw text, I can’t introspect (or shouldn’t?) what that item that was found actually is.

    NOTE: I believe that ‘a’ solution is to use a different starting stub for these … right? So if I had:
    /destination/europe/western-europe
    vs /tours/europe/western-europe/france/14-day-extravaganza
    then I could have two separate rewrite rules. But that kinda defeats the purpose here of having a logical, hierarchical, structure.

    Thread Starter EliW

    (@eliw)

    FWIW, I’ve been looking in the debug files, and it seems that with this mode enabled, it is in fact making custom cache files for each user. But it’s never using them after that.

    Yes, that is correct. This is a feature request. (It’s only a ‘problem’ in the sense of it being a lacking feature *big grin*)

    Thanks for all your efforts towards open source.

    Douglas, understood, but since you are using the built-in selector and media handler, it would ‘make sense’ for it to respect what size you choose when selecting the media. And therefore to automatically use WordPress’ built in media resizing.

    Most of us expect/rely upon that, and may be using one image in multiple places at different sizes. So to have to separately resize/upload it ‘again’ just for this widget is painful ??

    Thread Starter EliW

    (@eliw)

    Marking as resolved.

    Thread Starter EliW

    (@eliw)

    Shaun, yes, it was in php.ini

    And Nacin … ha! So I didn’t even notice that the order on those methods was wrong. Everything I found when googling the error, was pointing to func_overload.

    And in fact setting func_overload to 0 … stopped the errors. That’s weird though.

    I’m guessing (haven’t looked at core) but that mb_stripos will complain about an empty delimiter, but stripos just barges ahead?.

    Thanks for the link to the bug report.

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