Erusko: personally I find.

Foxman: Hi everyone, can anyone help me work out why a page is not picking up it’s default template from it’s slug? I have created a template page-executive-search.php but the page, with slug of executive-search is only picking up the default template

Qadeer: I think it might be because the page has a parent? the full slug is employers/executive-search – does this need to be included somehow in the filename for the template?

Dickstein: Fran___: have you ***igned the template to the page in the ‘edit page’ screen?

Styron: For example page-contact-us.php is the template used for the contact-us page but it doesn’t show up as an option, it just automatically applies based on the slug

Dickstein: That’s kinda cool. I didn’t know that this was possible

Petaway: Heh well it is possible as far as I know with most pages, but this one has a parent and I think it’s stopping it working

Brodt: But yeah, I’ve always created page templates that are very specific as just page-slug-name.php and then it can’t be chosen as an option for anything else

Muecke: So as not to confuse clients

Serrin: But for some reason this won’t work now

Fedezko: Argh why can’t I work this out? I don’t get it. Naming the page template the same as the slug works on every page except this one

Dad: Fran___: What The File –

Hassan: Pixolin: I know what page template it’s currently using

Urtado: I just can’t get it to use the one I want

Pascucci: And it works on every other page using the same method, but this one it won’t

Giarusso: You can also ***ign custom templates

Barrigan: But I should be able to ***ign custom templates without the use of a plugin just like I have throughout the entire site

Butera: Yet this one page, it doesn’t work

Guevana: Who said you need a plugin to ***ign a template?

Digiovanni: Because it has a parent

Sheldon: I’ve checked the slug, it’s identical

Coult: If I remove the parent page so it’s just top-level it works

Clunie: How can I force / switch to loading a different post? Tried these:

Farnworth: Pesin: What’s the use case ?

Jandres: I’ve got a website with pages /a /b /c and dynamic landing pages that are build with cpt items on /foo/o/z /foo/o/y and /foo/o/a

Andzulis: If the landing page is /foo/o/a and /a exists then the page displayed should be 90% like /a

Kelker: So Im thinking its better to just load /a and add a little bit, instead of loading a new page and importing everything from /a

Lamborne: I think example code 3 did work

Lofland: It just didnt fool get_post_type

Keizer: Ill just add an extra check, as long as its just 1 I can live with that. problem solved. :

Bourdier: Stupid noob question. if i want to align something in two directions, bottom and right, how do i phrase it?

Sipp: Currently, it’s at p align=”right”

Slaugh: This isn’t really a WordPress question and you should ask at #css

Lavoie: Is there a way I can embed specific widgets to template instead of the get_sidebar for all widgets in sidebar

Dickstein: Erusko: I think you might need to go back and learn some basics of css positioning.

Warnberg: Lavoie: hm? you can register new widget areas and use them in your template as needed.

Dickstein: Erusko: this article is excellent, but long:

Dickstein: Erusko: I recommend reading through it once, and then bookmarking it.

Schoemer: Thanks, i’ll take a look bobdobbs

Dickstein: Erusko: also, it’s best to put your css in an external stylesheet. inline styling is a weapon of last resort

Dickstein: Erusko: that’s no excuse.

Dickstein: Erusko: personally I find inline styling in themes maddening