• I am little confuse here .

    eg. Now i am using Theme classic . for wordpress .

    but in MY single.php i want to use a more fancy Theme , from another Folder inside the Wp-content/theme/Other-theme Eg.

    — any idea i only know half of it . so is confusing for me .
    i did read about it but i still do not know by creating single1.php how dose it allow me to use a different theme for Single post when use click on it .

    will someone point me to the correct direction or show me an example code layout . thanks you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The best way is to put all required files in the same theme.

    Then follow Austin’s trick here
    https://www.nathanrice.net/blog/wordpress-single-post-templates/

    Thread Starter siam1

    (@siam1)

    here is confusing part for me .

    let say .. i am using .. theme ABC —
    which will find the folder inside wp-content/theme/ABC .

    but i now want to use Theme 123

    which is found in
    wp-content/theme/123

    the confusing part is – how do i link .. Single123.php
    which i created .

    < ?php
    $category = get_the_category();
    $currentcat = $category[0]->cat_ID;
    if (file_exists(TEMPLATEPATH."/single-$currentcat".".php")) {
    include(TEMPLATEPATH."/single-$currentcat".".php");
    } else {
    ?>

    this tell me the single file i create , but to me is like a missing link to allow the theme in another folder to be used .

    i am sorry for asking silly question , but i am totlaly lost here.

    a theme need index.php + style.css ( ? )
    any good example .. of index,php using one theme . and single( renamed ).php using asnother theme .

    a code example would be cool ??

    Thanks for the fast reply

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need help with Single.php – using Different Theme –’ is closed to new replies.