Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lexevan

    (@lexevan)

    I have about 17 page templates.. and multiple subpages which use the same templates. There will also be 17 sidebars. Its a lot easier to simply select the page template and have the two sidebars automatically set for that template. Also, I will have a bunch of users on my site and i don’t want them to be able to accidentally change a sidebar. (if they are given admin profile).

    It might make more sense if you see the site. http://www.lexevan.com

    Right now most of the pages have the same main sidebar as i am researching content to create the unique sidebars for the other pages.

    Thanks. =)

    Thread Starter lexevan

    (@lexevan)

    I see. However, i was able to do this…

    I made a sidebar in the plugin & named it ” Music ” with the descriptor as “music”

    then using this code in the page template in place of the other code, it actually was working. rather the template path

    [div id=”sidebar_right”]
    [?php include(!dynamic_sidebar(‘Music’));?]
    [/div]

    Everything was working perfectly, but then I installed some plugins for video and uninstalled them when they sucked. And after that, i starting receiving an error message on each page which had this code. It would still display the sidebar, but under it, would show an error message saying the following,

    “Warning: include() [function.include]: Filename cannot be empty in /hermes/bosweb/web209/b2093/sl.—–private—-/wp-content/themes/Structure Premium White/organic_structure_white/page_music.php on line 68

    Warning: include() [function.include]: Failed opening ” for inclusion (include_path=’.:/usr/local/lib/php-5.2.12/lib/php’) in /hermes/bosweb/web209/b2093/sl.—–private—-/wp-content/themes/Structure Premium White/organic_structure_white/page_music.php on line 68. “

    Im pretty sure the other plugins screwed up something in my include functions file, but Im not a coder so I have no clue how to fix it. So I was hoping the other “template path” code would resolve it.

    Anyway, thanks for your advice.

    Best,
    -lex

    in which file would i post that code craigtommola wrote?

    also, can you provide me with the code for the share button and the twitter “tweet” button?

    (My problem is that the social media buttons are also showing up on my content boxes which make up my side bars, and I don’t want them there. I figured the best solution is to just switch to manual placement of the buttons and only put them under each post. However, I’m a designer not a programmer and I have the knowledge of a fetus when it comes to PHP. I’ve managed to tweak what I need to make custom pages with custom sidebars, but this Facebook and Twitter connect thing is killing me. I can’t figure out where the code goes to just have the buttons show up for posts only and not the content boxes. I’d really appreciate your help if you can. Thanks.)

    Here’s a preview of my site: http://www.lexevan.com (work in progress)

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