Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • fastfun.jp
    Member

    Hi Sakin, ok, that’s great thanks. That solves the issue for Home, but what about linking to the pages generated in code, Services, Testimonials etc., the archive pages, they don’t have a container in WordPress to add to menu?

    fastfun.jp
    Member

    I’m seeing the last item “Sitemap” as active on Chrome on Android Nexus 5 and on Chrome, Safari and Firefox on Mac Os when I drag the browser window smaller. Strange….

    in reply to: Overriding default templates in a child theme #18872
    fastfun.jp
    Member

    No problem, this is what I expected. Really find WordPress lacking in this area, it has a very non-standardised way of customising, inheriting and developing in general. You’ve done a great job with the theme however, it looks great and is functioning well.

    I also understand this is not basic support, so appreciate your patience. I will be able to hack it to do what I like, I was just enquiring in terms of best wordpress practices or methods to do this with your theme, link references or whatnot.

    No problem, thanks again.

    in reply to: Overriding default templates in a child theme #18853
    fastfun.jp
    Member

    That’s great Sakin. However I tried to override the content-sidebar.php and this does not seem to override when placed in my theme. How do I get content-sidebar.php to override?

    After the do_action( ‘catchthemes_before_loop_content’ ); in content-sidebar.php I added a check for is_front_page to display the services.

    <?php if(is_front_page()): ?>
                <div id="content" class="clearfix">
                    <div class="service clearfix">
                        <?php
                        global $post; 
                        $i = 1;
                        if( have_posts() ):
                            while ( have_posts() ) : the_post();
    
                                if ($i % 2 == 1) { $class = "smart-even"; } else { $class = "smart-odd"; }
    
                                $output = '<dl class="service-item '.$class.'">';
                                if( has_post_thumbnail() ) {
                                    $output .= '<dt class="service-icon">';
                                    $output .= '<a href="'.get_permalink().'" title="'.the_title_attribute('echo=0').'">'.get_the_post_thumbnail( $post->ID, 'gallery', array( 'title' => get_the_title(), 'alt' => get_the_title() ) ).'</a></dt>';
                                }
                                $output .= '<dd><h3 class="entry-title"><a href="'.get_permalink().'" title="'.the_title_attribute('echo=0').'">'.get_the_title().'</a></h3>';
                                $output .= '<p>'.get_the_excerpt().'</p></dd>';
                                $output .= '</dl>';
                                echo $output;
                                if( ($i%4) == 0 )
                                {
                                    echo '<div style="clear:both;"></div>';
                                }
                                $i++;
                            endwhile;
                        else:
                            ?>
                            <h1 class="entry-title"><?php _e( 'No Posts for this Custom Post Type', 'catchthemes' ); ?></h1>
                        <?php
                        endif;
                        ?>
                    </div><!-- .service -->
                    <div class="clearfix"></div>
    
                    <?php do_action( 'catchthemes_before_nav' ); ?>
    
                    <?php
                    if( function_exists( 'catchthemes_next_previous' ) ) {
                        catchthemes_next_previous();
                    }
                    ?>
    
                    <?php do_action( 'catchthemes_after_nav' ); ?>
    
                </div><!-- #content -->

    I see global $post; How do I populate $post with services posts or whatever it contains contains when used in archive-services.php? I’m not sure where $post is populated.

    I’m just looking for the most maintainable way to do things inline with the parent theme. I find wordpress very non-standardised for doing this, is this true? I’m trying to see if there is a way or is every child wordpress theme not a real child, just a work around hack for anything custom…

    Thanks Sakin.

    in reply to: Sidebar layout selection not respected #18849
    fastfun.jp
    Member

    Hi Sakin,

    Yes, my description above is on a post / page, I select the desired sidebar layout, click save and the option is not saved, it reverts back to the Default option in the radio button.

    Any ideas on how to debug this?

    Thanks,
    Paul.

    in reply to: Overriding default templates in a child theme #18819
    fastfun.jp
    Member

    Hi Sakin,

    I’d like to reuse and possibly override the archive-services.php template on the homepage but including a right sidebar this time. What is the best way to go about this?

    If I also intend on overriding the archive-services.php on the /services page does this change anything? i.e. – is there a better method to get around both scenarios above?

    Thank you,
    Paul.

    in reply to: Overriding default templates in a child theme #18717
    fastfun.jp
    Member

    Excellent, the last point was my missing piece, this seems like a standard WordPress theme override which is great.

    Thanks again.

    in reply to: Overriding default templates in a child theme #18682
    fastfun.jp
    Member

    That’s great Sakin.

    I wanted to have the slider on the homepage only, full width. Under that I then want a template with a sidebar on the right. I wanted a grid of the featured services displayed by thumbnail. Similar to the 4 car images in the mustang demo under the slider but with 3 columns x N rows of images and a sidebar on the right.

    If you have a recommendation for achieving this to benefit from inheritance from the parent / updates in the future, please let me know.

    Thanks again!

    in reply to: Get branding-bg.jpg with custom colour #18597
    fastfun.jp
    Member

    The noise wasn’t created in those psd’s for the body, footer-main and site-generator by the looks of it. I’ll create a new set of noise images then for consistency. If you know roughly the type of noise and rough settings off hand that’d be great. I’d like it to look similar to your demo theme in terms of the noise but different colour palette. Many thanks, apologies for my PS ability.

    in reply to: Get branding-bg.jpg with custom colour #18595
    fastfun.jp
    Member

    Perfect, many thanks. I wasn’t sure if you gave out the .psd, that’s great.

    Paul.

    in reply to: Get branding-bg.jpg with custom colour #18564
    fastfun.jp
    Member

    Hey Sakin,

    Much appreciated for that. I forgot to add I needed the following also if possible, in a suitable grey (#a3a4a5). Please use another grey if you feel it works better as I have an eye for design but I am in no way a designer. http://catchthemes.com/demo/catch-mustang/wp-content/themes/catch-mustang/images/footer-bg.jpg

    Also, the image used in the very bottom of the footer, re-worked to produce the #1a2790 used in the header. I see this is slightly more involved due to transparencies. http://catchthemes.com/demo/catch-mustang/wp-content/themes/catch-mustang/images/site-generator-bg.png

    See the following for rough idea of desired result, but using the noise in your images will improve texture. Ignore the borders as they are currently the incorrect colour. https://dl.dropboxusercontent.com/u/48399822/footer-fastfun.jp.png

    Really appreciate your help Sakin, this should be the only request to complete change of colour pallette for my child theme.

    Paul.

    – I will post a link to the final site when it is complete and online if that helps as an example to showcase use of the mustang theme.

Viewing 11 posts - 1 through 11 (of 11 total)