Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter geekloverlz

    (@geekloverlz)

    Sorry to bother you again, but unfortunately I couldn’t do it (and it’s completely my fault, I’m sure).
    First of all, thank you Gennady for your help! Here’s what I did:
    * I created the /writeshare-templates/ directory in my theme
    * I created a page-wpws-template.php (based on my theme’s Full Width Template) and placed it in this /writeshare-templates/ directory
    * I changed array( ‘page.php’ ) into array( ‘page-wpws-template.php’ ) in the templates.php file in the WriteShare directory
    Problem is I’m really new at this and I don’t know where to use that new wpws_default_page_template filter you suggested. Can you help me? Am I doing something else wrong? Thank you for your patience.

    Thread Starter geekloverlz

    (@geekloverlz)

    Oh, don’t worry, I kept posting mostly because it might help someone in the meantime.
    Take your time and thank you for the plugin!

    Thread Starter geekloverlz

    (@geekloverlz)

    Last message for today – I’m going crazy here!
    I’m almost sure my problem has to do with body classes and the fact that the write page is a front-end post page or something like that, but I’m just a beginner and I don’t even know what I am supposed to change.
    I’m afraid that after all this work I’ll have to uninstall WriteShare because I can’t figure out how to make it use the “not_frontpage” template. ??
    Please, developers, I’ve already discovered how to display the full-width template. Can you help me with the rest?

    Thread Starter geekloverlz

    (@geekloverlz)

    Hi! I’m still trying to find a solution and I think I’m coming onto something (remember I’m just a beginner and hopefully I’ll be able to help somebody by posting my progress).
    * I was able to force WriteShare to use a full width template (no sidebar!) for the /write page. Remember that buddypress.php template file I mentioned in the previous post? Well, I changed line 95 of the templates.php file in the WriteShare directory as follows from this:
    return locate_template( array( 'page.php' ) );
    to this:
    return locate_template( array( 'buddypress.php' ) );
    * I still can’t make it use the “not frontpage” layout, though. Any thoughts on that?

    Thread Starter geekloverlz

    (@geekloverlz)

    Hi! Me again.
    I’d just like to say that I had a similar issue with buddypress that was really easy to solve:
    * buddypress created pages using the “not frontpage” layout with the sidebar
    * buddypress has a template hierarchy in which buddypress.php is used before page.php
    * all I had to do was paste the code from page-fullwidth_template.php into a file named buddypress.php and upload it into my theme’s folder

    My question, again, is: how can I get WriteShare to use the “not frontpage” + full width layout? Does WriteShare have a template hierarchy, too?

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