WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] Copying layout from an other theme. (9 posts)

  1. Seeyar
    Member
    Posted 1 year ago #

    Hello,

    I've two theme installed on my WordPress, Splendid from Wpzoom and Gadgetine from Organge Themes. Gadgetine is the one I currently use. However, I don't like the way it displays my posts in the archive page and category pages. http://themeforest.net/item/gadgetine-wordpress-theme-for-premium-magazine/full_screen_preview/132954

    I would like to use the layout of my theme from WPzoom http://demo.wpzoom.com/splendid/category/beauty-style/

    What is the best way to do that? I've done a bit research, but am still confused. If i use splendid from wpzoom as child theme and then change this on Gadgetine <?php include (TEMPLATEPATH . '/archive_left.php or achive_center.php '); ?> with the loop from Splendid. Will that work?

    Bellow is the code of the themes archive.php

    Gadgetine

    <?php get_header(); ?>
    <?php include (TEMPLATEPATH . '/top.php'); ?>
    <div class="ct_w">
    <div class="ct">
    <?php include (TEMPLATEPATH . '/archive_left.php'); ?>
    <?php include (TEMPLATEPATH . '/single_center.php'); ?>
    <?php include (TEMPLATEPATH . '/single_right.php'); ?>
    </div>
    </div>
    
    <?php get_footer(); ?>

    Splendid

    <?php get_header(); ?>
    <div id="main">
    <div id="content">
    
    <?php get_template_part('loop', ''); ?>
    </div><!-- end #content -->
    
    <aside>
    
    <?php get_sidebar(); ?>
    
    </aside>
    
    <div class="cleaner">&nbsp;</div>
    </div><!-- end #main -->
    <?php get_footer(); ?>
  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You can't use two themes at once, nor one as a child theme of another theme. Child themes are simply a modified version of the parent theme - they allow you to make changes to the theme without modifying theme files. That way, any changes won't be lost when the theme is updated.

    You can conceivably "copy" the styles from the theme you like to the other one, but it's not a straight copy -- as CSS is theme specific. So you'd need to know some CSS in order to make the necessary modifications. Hope that makes sense.

  3. Seeyar
    Member
    Posted 1 year ago #

    Thanks for removing my doubt on child themes.

    I've been working on this site for a few months now, but my knowledge about CSS is limited. I use firebug to fix issues.

    So I need to copy the CSS I need from style.css of Splendid into style.css of Gadgetine ? is there anything else I should look at, like copying the loop.php file of Splendid into Gadgetine, as gadgetine doesn't have any loop.php file" <?php get_template_part('loop', ''); ?> "

    I'm sorry if my questions sound stupid.

    Thanks for taking your time on helping me

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    No, that's what I mean by CSS is theme (and site) specific. It uses tags, classes and ids that are not generally the same from theme to theme. Same with copying php files. It really would take more than a little knowledge of CSS, HTML and PHP to do what you want, but this may be a good place to start if you're game for learning:

    http://codex.wordpress.org/Theme_Development

    You could also consider hiring someone to do this kind of thing for you:

    http://jobs.wordpress.net/

  5. Seeyar
    Member
    Posted 1 year ago #

    Will try to learn it on the long term, but for now I guess the best option is to hire someone for it.

  6. Jason1980
    Member
    Posted 1 year ago #

    I have the gadgetine theme on my website thisisxbox.com - and have adjusted quite a lot of it.

    The only way this could be achieved is to replicate the grid archive from the other theme with css styling. You would need to re-write the archive_left.php and edit the parts that display the content title, thumbnail, read more link from after <?php if (have_posts()). You'd need to assign different css styles to the classes, use a display: inline-block; css line in the stylesheet.

    I'm not an expert, something like that would take me all day!! but if you want to give it a go there's also something similar mention on this site here as the look you want to achieve is more about html/css writing

    http://wordpress.org/support/topic/grid-style-layout-for-post-lists?replies=27

  7. Seeyar
    Member
    Posted 1 year ago #

    Thanks Jason,
    I archived an even better result than expected with some help from a friend and a freelancer.

    I know your site, your customization looks superb, your work is actually the main reason behind why I chose this theme. here is my site sports.af

  8. bibbsinn
    Member
    Posted 10 months ago #

    Can anyone help me to fix this problem I have in my Gadgetine theme? The categories always show the oldest news.... I want to see always the newest in my front/homepage? I´m an amateur in this and you have to explain it to me as I were a 2 year old :)

  9. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    http://wordpress.org/support/topic/gadgetine-theme-problem?replies=2
    Please do not post the same question more than once.

Topic Closed

This topic has been closed to new replies.

About this Topic