• Hi!!! I bought a theme off themeforest.com, here is my site that I am working on https://motivatedproformance.com

    problem, I am trying to showcase 6 websites for my client, the theme I bought is only popping up a fancybox image viewer, I need it to click straight to the sites I am showcasing or pop up an image viewer that has text and a place for a link.

    The developer of the template says he doesn’t know how to do this…BUT there is someone else who bought the same template and DID do exactly this, I contacted that person multiple times and they wont even respond…. here is HIS site https://12thplanet2012.com/tour/

    the template (one page template) has the capability to do this pop up webpage BUT only on the portfolio page https://motivatedproformance.com/motivated-sites/ even though those six buttons are fed directly from the portfolio page (which my link says ”motivated sites”

    If anyone could help me it would save me from starting all over with a whole new template!!! plzzzzzz ??

    thank you thank you thank you in advance!!!!!!!

    t

Viewing 1 replies (of 1 total)
  • Thread Starter lulubell138

    (@lulubell138)

    Oh BTW the developer of the theme DID tell me this much, he said the other guy must have edited the index.php file (if this helps)

    thank you again in advance

    index.php:

    <?php get_header(); ?>

    <?php
    $pages = get_pages( array ( ‘sort_order’ => ‘asc’, ‘sort_column’ => ‘menu_order’, ‘depth’ => 1 ));

    foreach ( $pages as $pag ) {
    setup_postdata( $pag );
    $new_title = str_replace( ” “, “”, strtolower( $pag->post_name ) );
    echo ‘<div class=”clearfix scrol-page” id=”‘ . $new_title . ‘”>’;
    echo ‘<div class=”wrapper”>’;
    $page_type = str_replace( ‘ ‘, ”, strtolower( get_post_meta( $pag->ID, ‘page_type’, true ) ) );

    if ( $page_type == ‘home’ ) {
    get_template_part( ‘template/home’ );
    }

    elseif ( $page_type == ‘portfolio’ ) {
    echo ‘<div class=”page-title clearfix”><h1>’;
    echo get_post_meta( $pag->ID, ‘page_title’, true );
    echo ‘</h1><p>’ . get_post_meta( $pag->ID, ‘page_sub_title’, true ) . ‘</p></div>’;
    get_template_part( ‘template/portfolio’ );
    }

    elseif ( $page_type == ‘regular’ ) {
    echo ‘<div class=”page-title clearfix”><h1>’;
    echo get_post_meta( $pag->ID, ‘page_title’, true );
    echo ‘</h1><p>’ . get_post_meta( $pag->ID, ‘page_sub_title’, true ) . ‘</p></div>’;
    the_content();
    }

    echo ‘</div>’;
    echo ‘</div>’;
    } ?>

    <?php get_footer(); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘help plz- need button to open page instead of image’ is closed to new replies.