Support » Theme: Ryu » Using infinity sign as a permalink marker for some post types

  • I have just moved my personal blog over to Ryu (or more specifically, a child theme that I have taken to calling ‘Ken‘). There are a few issues that I would to resolve, and I am no php/css expert, so I would be grateful for any tips. I am going to post my issues as separate threads.

    The first issues is that in Ken, I would like some of the short post types (asides, quotations, status updates, and links) to use the infinity sign (∞) as a permalink.

    I understand that to do this I need to create derivative copied of the relevant content templates (e.g. content-aside.php) within the Ken directory, and put somewhere in there. I think the relevant section, in content-aside is this:

    <?php
    				if ( ! is_single() ) :
    					the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
    				else :
    					the_title( '<h1 class="entry-title">', '</h1>' );
    				endif;
    			?>

    However, I am not sure where in this block I need to put and whether I need to escape the characters at all?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using infinity sign as a permalink marker for some post types’ is closed to new replies.