Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter sajobe2

    (@sajobe2)

    I figured it out… but it is probably in your best interest to not change what works as far as short code. The original shortcode was [virtual_slide_box id=”1″] after the update it only accepts [virtual_slide_box id=1] for some reason… slightly frustrating.

    I would still be curious as to how you expect us to rebuild something remotely similar.

    Thread Starter sajobe2

    (@sajobe2)

    Reasons you should walk away when stuck. Really the best way for what I wanted was to check Book Review as a category and stop treating it as a parent seeing as I wanted list and not hierarchy. The code I used is below.

    <span class="cat"><?php
    $categories = get_the_category();
    $seperator = ' & ';
    $output = '';
    if($categories){
    	foreach($categories as $category) {
    		$output .= '<a href="'.get_category_link($category->term_id ).'" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $category->name ) ) . '">'.$category->cat_name.'</a>'.$seperator;
    	}
    echo trim($output, $seperator);
    }
    ?></span>

    Thread Starter sajobe2

    (@sajobe2)

    Something about what you said clicked I found an easy fix. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)