Forum Replies Created

Viewing 15 replies - 16 through 30 (of 104 total)
  • Thread Starter Overflow

    (@acrane)

    Ok, good points.

    So When I do complex templates with multiple queries and then I get down to the footer and want to check which page i’m on (to show an appropriate logo), how should I reset the query, and get the postdata correct so that is_tree works as expected?

    Still not compatible. Are you saying the minified version is the problem?

    Uncaught TypeError: Cannot call method 'keyup' of undefined wp-seo-metabox.min.js?ver=1.5.2.1:1
    Thread Starter Overflow

    (@acrane)

    Ok, I got rid of ‘in_same_cat’, no luck.

    Then I tried to set a variable to find the term using
    if (has_term('k-12-education','categories')) {$projDetails = "pro-det-k-12-single"; $myTax = 'k-12-education';}
    ect…ect…

    Then I put the variable in the ‘in_same_tax’ but it didn’t like that because I’m assuming that it’s supposed to receive only a True/False? When I did, I got this error.

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/bwwnet/public_html/optima/wp-content/plugins/next-post-plus/ambrosite-post-link-plus.php on line 114

    Thanks for the help so far. Hope we can figure this out.

    Thread Starter Overflow

    (@acrane)

    Thanks. I’ve tried to play around with a few parameters, but this is the current version. (Some are commented out)

    <?php  next_post_link_plus( array(
    
    	'order_by' => 'post_date',
    	/*'order_2nd' => 'post_date',*/
    	'meta_key' => '',
    	'post_type' => '',
    	'loop' => true,
    	'end_post' => false,
    	'thumb' => false,
    	'max_length' => 0,
    	'format' => '%link &raquo;',
    	'link' => 'Next Project',
    	'date_format' => '',
    	'tooltip' => '%title',
    	'in_same_cat' => true,
    	'in_same_tax' => true,
    	/*'in_same_format' => false,
    	'in_same_author' => false,
    	'in_same_meta' => false,*/
    	'ex_cats' => '',
    	/*'ex_cats_method' => 'weak',*/
    	'in_cats' => '',
    	'ex_posts' => '',
    	'in_posts' => '',
    	'before' => '',
    	'after' => '',
    	'num_results' => 1,
    	'return' => ''
    
               ) ); ?>

    Weird, I thought I replied to this.

    http://codex.wordpress.org/Moving_WordPress

    All you have to do is move the main index.php file into the root, change the path name in that file to include the blog subdirectory. Then in Settings general, change the site address so that it does not include the blog directory.

    <?php if(is_page('our-work')) { ?>
    Show me the menu
    <?php } else { ?>
    Don't show me the menu
    <?php } ?>

    @movezerb,

    This solution works for me. Since the upgrade to 3.7, the answer slowly made it’s way out. Simply put this function into your functions file and you’ll have titles again.

    function my_get_attachment_link_filter( $content,$id ) {
            $title = get_the_title($id);
            $new_content = str_replace('<a ', '<a title="' . esc_attr($title) . '" ', $content);
            return $new_content;
    }
    add_filter('wp_get_attachment_link', 'my_get_attachment_link_filter', 10, 4);

    @esmi, This is my topic.

    I’d thought I’d give the developer more info on the subject. You know, also in the Forum Welcome, “SEARCH FIRST:” – “Many of the questions that are posted in the forums have been posted many times before, and get the same answers each time. Before starting a new thread, please try searching the forums.”

    Yes, bump.

    This has happened since the 3.7 WordPress upgrade.
    Changing the jquery version doesn’t help either.
    Actually effects all Color Box based plugins.

    You could create a 1-5px vertical gradient in a image program and set that as a background image then set it to repeat-x. Then your code would look like this:

    .rpwe-block li {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    padding-bottom: 10px;
    background-image: url(images/my-gradient.png);
    background-repeat:repeat-x;
    background-position:bottom;
    }

    Find this in your style.css

    .rpwe-block li {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    padding-bottom: 10px;
    }

    And replace it with this:

    .rpwe-block li {
    border: 1px solid #999;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #ccc;
    }

    To your original problem of not getting the navigation.js included, you need to first make sure it’s in your theme’s folder. Probably in your “js” folder in your theme. If it’s not, you can just grab it from the 2012 theme. Then open up your functions.php file in your theme.

    In the 2012 theme, the js gets added on line 103:

    /*
    	 * Adds JavaScript for handling the navigation menu hide-and-show behavior.
    	 */
    	wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '1.0', true );

    Make sure that is in there.

    I’m going to jump on this post too because I’ve had this problem lately. I’m moved a lot of sites the way you’re doing it and just recently I’ve been getting this error.

    My solution was to go to the servers automatic backups they provide instead of exporting from myphpadmin. The support for my hosting swears that there shouldn’t be any difference, but obviously there is. Hopefully you have access to these backups.

    Doesn’t look like the “navigation.js” located in the 2012 theme/js/ is getting loaded. That’s what gets your h3 menu button to work on responsive mobile.

    Try this from the 2013 theme:

    <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
    <?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ), get_the_author() ); ?>
    </a>

    Then go to your admin > users > edit > Choose, “Display publicly as” to choose who the Author’s name is displayed.

Viewing 15 replies - 16 through 30 (of 104 total)