13 reputation
16
bio website jansensan.net
location Montreal, Canada
age
visits member for 2 years, 2 months
seen Oct 16 '13 at 15:02

Angry French Canadian, music aficionado, video games enthusiast, web development soldier, overall contemporary and interactive arts seeker.


Sep
8
comment Why is “plugins_loaded” not called/fired?
Guess I wasn't clear. splashingpixels aligned me onto the right path: I'm actually building a custom theme, so I don't need info on plugins. I'm using add_action("after_setup_theme", "init_localization"), but the admin/CMS part of WP does not apply the strings from the PO/MO to the elements as expected. Any tips?
Sep
2
comment Why is “plugins_loaded” not called/fired?
Very cool, thanks for the guidance Geert and splashingpixels. I wasn't using those events or functions simply because I did not know of them and relied on another project. Now I do get that the action is called, however the translations are not applied. The translation items are for custom post type labels. Where should I look to have them picked up from the PO/MO?
Nov
16
comment Deploying from local to dev: pages do not work
That would have saved me some time, I didn't know that existed. The thing of which I had to make sure was to change the siteurl and home vars in the _options table to that things works properly
Nov
16
comment Deploying from local to dev: pages do not work
There was something with the htaccess indeed, but the web host fixed that part, thanks for the guidance.
Oct
29
comment How to create some sort of word mapping?
Thanks for the guidance, with that I managed to translate a lot. However, my child theme requires additional strings, how do I add those strings? I'd rather avoid touching the parent theme.
Oct
18
comment Why is custom template not seen as page with is_page()?
A-ha! That was indeed my issue! THanks so much!
Oct
17
comment Why is custom template not seen as page with is_page()?
@EricHolmes: as for the is_page(), that check is made by the included file at the bottom of the page, a file I did not modify. I'll add it in my question.
Oct
17
comment Why is custom template not seen as page with is_page()?
@EricHolmes: why would it be archive? In any case, I made two similar templates that do not work, one for news, another for portfolio. Neither of those return is_page() as true, and they are, since in the CMS I used add page to add them, I just selected the custom template.
Oct
17
comment Why is custom template not seen as page with is_page()?
@EricHolmes: I updated my question with my code.
Oct
17
comment Why is custom template not seen as page with is_page()?
The only is_$ condition that is true is is_category
Oct
17
comment Why is custom template not seen as page with is_page()?
@toscho: no, I get the same results with that value
Oct
17
comment Why is custom template not seen as page with is_page()?
@BrianFegter: actually, most is_$ conditions are false (they are at the bottom of the dump I obtained)