Adding a + sign

This topic is: Resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 9 replies, has 2 voices, and was last updated by  Max 1 year, 8 months ago.

  • Author
    Posts
  • #12588

    Erick
    Member
    Post count: 1026

    I want to do this. https://goo.gl/photos/F4q5KKgQwvCnpgKF8
    I know its pretty easy, the only problem is that I cannot find the php document to change this.

    Also how can I find the document of the things I am looking at? can I use the Dev tools to do so?

    I tried single-content.php but I had no luck 🙁

  • #12602

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #12619

    Erick
    Member
    Post count: 1026

    :0 that work, thank you so much! did you also change the color of the tags to be the same as the category colors right? what I asked here: http://wpthms.com/support/topic/category-tag-same-color-as-category-accent-color/

    Thank you :)!!

  • #12745

    Erick
    Member
    Post count: 1026

    This code was working beautifully and all of the sudden it doesn’t show the colors according to the category. :9 aaah websites are so complicated

  • #12859

    Erick
    Member
    Post count: 1026

    bump

  • #12904

    Erick
    Member
    Post count: 1026

    bump 2

  • #12920

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #12925

    Erick
    Member
    Post count: 1026

    but what happened? It was working really well. Then suddenly it just stopped.

  • #12930

    Erick
    Member
    Post count: 1026

    Should I erased this code then?

    function yt_site_post_entry_category(){
    
    		$meta_info = yt_get_options('blog_post_meta_info');
    
    		if( !in_array( 'category',$meta_info ) ) 
    			return;
    		
    		//Category
    		$categories = get_the_category();
    		$categories_output = array();
    		
    		if($categories){
    			foreach($categories as $category) {
    				$categories_output[] = '<a class="'.esc_attr( $category->slug ).'" href="'. esc_url( get_category_link( $category->term_id ) ) . '" title="' . esc_attr( sprintf( __( 'View all posts in %s', 'yeahthemes' ), esc_attr( $category->name ) ) ) . '">' . esc_html( $category->cat_name ) . '</a>';
    			}
    		}
    		echo '<strong class="text-uppercase margin-bottom-15 display-block category-meta">' . join( ' + ', $categories_output ) . '</strong>';
    	}
  • #12931

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!