• I know you can customize a template and what I’d like to do – is there is a really neat feature on one template – which I would like to add or customize to my own template. So indirectly taking a feature from template “a” and putting that feature into my original template “b”.

    OK, so how do I do this? I have looked at the codex documentation for template development and know there are certain pages (index.php, function.php, mosaic.php) that I need to remove the code from template “a” and place into tamplate “b”.

    But will this mess the original code up – or will it work?

    Also, template “a” uses the YAPB image plug in, where as template “b” – my Good template uses the NextGen. I can have two plugs in activated at the same time?

    Please can anyone email me privately for my web site links which would explain this a bit better. Essential what I want to do is take template “a” and put one section of it into template “b” – for one theme page – mosaic.

    Template Re-Direction – if I set up a template re-direction (I think) how does this work – for one particular page/feature? Can a link or redirection go under template “a” located at abc.com/blog2 to template b” which is located at abc.com/blog ?

    Any help greatly appreciated…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Man, I have no idea what you want to do. You can put all kind of PHP code into a template. But then you start talking about blog 1 and blog 2. Plugins can usually be anywhere, but normally are in a sidebar template; however, they can be on a page template (e.g., a contact form plugin).

    Plugins are fragile things and it depends on how well written they are whether they play nice with the other plugins. You can put calls to two different plugins in the same template and stand back and watch them fight it out. They may coexist peacefully, they may not. It just depends on the individual plugins involved and how close to the WP bone they work.

    Template redirection? I don’t know what you mean.

    Thread Starter own_wordpress

    (@own_wordpress)

    Hi, thanks for replying to my post. Yes after re-reading it I don’t think I was as clear as I had hoped!…

    Let’s try this again.

    I have a web site as a test located at something like abc.com/blog2
    Then I have my real web site located at abc.com/blog

    On one page of my test web site abc.com/blog2 – I really like a certain aspect of a features on one of these pages [mosaic] and need to know if this page/feature can be put into my real web site/blog.

    How do I know what function or code do I copy or remove to place into my real web site page code? I can copy the whole mosaic.php page – but then I believe, there is a function inthe function.php page that pulls this out – to display the info on the page. How do I know where and what I need to remove (code) and place into my real web site page.

    Can any-one email me privately, and I’ll give you real web site address’ which will explain this a lot easier if I “Show” you want I want to do…

    After doing research under wordpress I know it can be done (i.e. customizing themes & templates).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feature from One Template’ is closed to new replies.