Adding a + sign

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

Status: resolved
  • This topic has 9 replies, 2 voices, and was last updated 4 y, 8 mo by  Max.
Viewing 9 reply threads
  • Author
    Posts
    • #12588

      Erick
      Member

      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

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

      Login | Register | Forgot Password?

    • #12619

      Erick
      Member

      :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: https://wpthms.com/support/topic/category-tag-same-color-as-category-accent-color/

      Thank you :)!!

    • #12745

      Erick
      Member

      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

      bump

    • #12904

      Erick
      Member

      bump 2

    • #12920

      Max
      Staff

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

      Login | Register | Forgot Password?

    • #12925

      Erick
      Member

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

    • #12930

      Erick
      Member

      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', 'wpthms' ), 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

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

      Login | Register | Forgot Password?

Viewing 9 reply threads
  • You must be logged in to reply to this topic.

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

© Copyright 2020 by wpthms.com. All Rights Reserved.