• Hello All,

    Where (or how) do I apply my template globally so all redirects and links remain in my template? Only my main page stays within the parameters and any relative links open in the default WordPress template.

    My apologies for what is likely a simple answer… I’m new with php and still learning.

    Regards!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Err… Could you clarify your question? I read it three times, and can’t figure out what it is that you’re asking, exactly.

    Thread Starter gapingredgroovie

    (@gapingredgroovie)

    Certainly Otto42.

    I created a template in Dreamweaver and placed WordPress within an apDiv on the blog.html file. When I open the page it works exactly as I wanted. However, whenever I click on any of the Blog relative URL links, that page then opens in the WordPress default Kubrick template, not the Dreamweaver blog template I created.

    So what I am asking is where I place the script to always keep any new WordPress blog links and redirects opening within my blog template instead of the Kubrick template? My template is located in a file in my IP’s directory named Template. Here is the apDiv script for the Blog page (sans the actual URL):

    <div id=”apDiv16″>
    <?php
    include(‘http://www.myWebsiteURL.com/wordpress/&#8217;);
    ?>
    </div>

    Is there a particular WordPress php file that I can direct this code toward so all WordPress pages open within my blog template or is my script the wrong one for this job? Do I apply this code to the CSS page?

    I love the intrigue of trying to resolve this issue I’m having. Unfortunately for me, I’m running out of time before I have to go live with the site this blog is intended for.

    Thank you for your speedy response Otto42. I truly appreciate it, and your time.

    Regards!

    Instead of what you did, you should make a WP theme based on your design. It is that simple.
    Theme_Development

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Ah.

    Okay, I think you’re taking the wrong approach. You need to redesign your theme as a WordPress theme:

    http://codex.wordpress.org/Theme_Development

    Thread Starter gapingredgroovie

    (@gapingredgroovie)

    To make a WP theme based on my design would cause me to miss the deadline for this project. The template I have contains animating apDiv’s for navigation buttons and some flash forms as well. I spent a bit of time getting all the animating apDiv’s to time in and out along with their effects. I’d certainly believe I was a banana tree by the time I finished recreating all these elements.

    Or is there an easier way to do this?

    Thank you for your time, moshu.

    Regards!

    Thread Starter gapingredgroovie

    (@gapingredgroovie)

    Dang. Two moderators suggesting the same thing. Now I’m sweating this one.

    Regards

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    The short of it is that you will always have a difficult time embedding a WordPress site into something else. That’s not what it was designed to do, at all.

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

The topic ‘Applying template globally’ is closed to new replies.