Forum Replies Created

Viewing 15 posts - 16 through 30 (of 39 total)
  • Posted in:
  • in reply to: main nav missing on category pages #242704
    pdupree
    Member
    Post count: 40

    same result in Cardinal 2.41

    in reply to: main nav missing on category pages #242394
    pdupree
    Member
    Post count: 40

    Yes, same issue with parent theme

    in reply to: main nav missing on category pages #242076
    pdupree
    Member
    Post count: 40

    child theme has
    comments.php
    functions.php
    single-event.php
    single-location.php
    style.css

    In functions.php I’m using this code that I previously used with Dante.

    // Show custom post types on archives
    add_action( 'pre_get_posts', 'add_my_post_types_to_query' );
    function add_my_post_types_to_query( $query ) {
    	if ( !is_admin() && is_archive() && $query->is_main_query() )
    		$query->set( 'post_type', array( 'post', 'event', 'testimonial', 'portfolio', 'team', 'galleries') );
    	return $query;
    }
    
    // Show custom post types on archives
    add_filter( 'getarchives_where' , 'pdc_getarchives_where_filter' , 10 , 2 );
    function pdc_getarchives_where_filter( $where , $r ) {
    	if ( !is_admin () )
            $args = array( 'public' => true , '_builtin' => false );
            $output = 'names'; 
    		$operator = 'and';
            $post_types = get_post_types( $args , $output , $operator );
            $post_types = array_merge( $post_types , array( 'post', 'event', 'testimonial', 'portfolio', 'team', 'galleries') );
            $post_types = "'" . implode( "' , '" , $post_types ) . "'";
            return str_replace( "post_type = 'post'" , "post_type IN ( $post_types )" , $where );
    }
    
    in reply to: sort on team_list #240611
    pdupree
    Member
    Post count: 40

    That plugin conflicts with another that’s critical for the site.

    I can’t find where the team post type is registered as in this file in Dante:
    dante/swift-framework/custom-post-types/team-type.php

    Can you point me to the correct file?
    —-
    Any solution available for the team listing layout
    http://jameswalkermusic.com/eventlist/performers/
    to be identical to the archive listing?
    http://jameswalkermusic.com/2015/

    in reply to: sort on team_list #240246
    pdupree
    Member
    Post count: 40

    What plugin?

    in reply to: search results pick up column breaks of portfolio posts #141834
    pdupree
    Member
    Post count: 40

    strip_tags eliminates tags that I need

    At this point, I’d be grateful for code that will include $custom_excerpt in the search results.

    in reply to: search results pick up column breaks of portfolio posts #141525
    pdupree
    Member
    Post count: 40

    only team members in search results display columns…
    Yes, because I’ve set css to width 100% on the others (one_half, one_third, one_fourth etc).

    re: Canterbury Choir example
    I assume it’s better to use layout shortcodes (one_half, one_fourth) instead of spb_content_elements to create columns to avoid changing bootstrap width settings to get search results to have width of 100%.
    Is that what you would do?

    My concern is how to manage this as my client takes over production of site. I would like to avoid revisiting this every time he tries things in page builder.

    ——————-
    can you try editing the excerpt…
    Yes, the excerpt field works. I’d like to use the custom excerpt field throughout and not use excerpt field. My client is frustrated by the amount of meta fields and tabs and needs things to be a bit simpler. The custom excerpt field doesn’t display in search results (portfolio, team, blog).


    I installed wpide

    in reply to: search results pick up column breaks of portfolio posts #141333
    pdupree
    Member
    Post count: 40

    in portfolio, team and blog posts, I’m assuming something like this code needs to be added to /includes/sf-post-formats.php at line 686, so that if there are custom excerpts, they are included in the search results. [Same problem exists in Cardinal.]

    $custom_excerpt = sf_get_post_meta( $post->ID, ‘sf_custom_excerpt’, true );
    $post_excerpt = ”;
    if ( $custom_excerpt != ” ) {
    $post_excerpt = sf_custom_excerpt( $custom_excerpt, $excerpt_length );
    } else {
    $post_excerpt = sf_excerpt( $excerpt_length );
    }

    —–
    to better clarify second problem, in portfolio posts body copy I’m using layout shortcodes. No custom excerpts. And excerpt field doesn’t appear in Edit post page. No text appears in the search results.

    When I add Advanced Excerpt plugin (recommended by swift ideas) it’s not ignoring the layout shortcodes, thus the search results are appearing in several columns instead of one column.

    in reply to: bypostauthor in recent comments widget #141331
    pdupree
    Member
    Post count: 40

    I want the widget to list 3 comments.
    When I use “post_author__not_in” it does delete the comments of the post author, but it doesn’t replace those comments with new ones not by the post author.

    in reply to: search results pick up column breaks of portfolio posts #141282
    pdupree
    Member
    Post count: 40

    with dante 2.7 and no plugins
    in portfolio, team and blog posts, custom excerpt isn’t picked up

    in portfolio posts when one_half shortcode is used, all text inside shortcode is not displaying — what I’d prefer on search results is that the shortcodes that are defining columns would not be used and the text inside shortcodes would be displayed.

    in reply to: search results pick up column breaks of portfolio posts #141039
    pdupree
    Member
    Post count: 40

    if I’m reading the php correctly —

    /includes/sf-post-formats.php
    line 685-686
    $custom_excerpt doesn’t get converted into $post_excerpt so it will display in line 718

    in reply to: search results pick up column breaks of portfolio posts #140712
    pdupree
    Member
    Post count: 40

    these are excerpts calculated from the post, not text in specific excerpt fields.

    in reply to: bypostauthor in recent comments widget #140711
    pdupree
    Member
    Post count: 40

    It doesn’t replace “not_in” comments with new ones. Number in widget 3, 2 were by post author, only left 1.

    in reply to: change log for dante 2.6 #140543
    pdupree
    Member
    Post count: 40

    I’m hoping for each update, you’ll post (at a minimum) the list of files that changed. Best result would be what changed in each file.

    You did that for http://dante.swiftideas.net/changelog/#v254

    in reply to: bypostauthor in recent comments widget #140541
    pdupree
    Member
    Post count: 40

    I don’t want the recent comments widget to display any comments made by the post author.

Viewing 15 posts - 16 through 30 (of 39 total)