Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter accretio

    (@accretio)

    Thanks so much Phil, everything is sorted now.

    Thread Starter accretio

    (@accretio)

    Thanks so much Phil, I think I’m on the right track now. But I’m still having some trouble with the code. What exactly should I remove from it?

    Here is the code from my side:

    **
     * Remove links from entry titles (shortcodes)
     *
     */
    function oxygen_entry_title_shortcode( $title ) {
    
    	global $post;
    
    	if ( is_front_page() && !is_home() ) {
    		$title = the_title( '<h2 class="' . esc_attr( $post->post_type ) . '-title entry-title"><a href="' . get_permalink() . '" title="' . the_title_attribute( 'echo=0' ) . '" rel="bookmark">', '</a></h2>', false );
    	} elseif ( is_singular() ) {
    		$title = the_title( '<h1 class="' . esc_attr( $post->post_type ) . '-title entry-title">', '</h1>', false );
    	} elseif ( 'link_category' == get_query_var( 'taxonomy' ) ) {
    		$title = false;
    	} else {
    		$title = the_title( '<h2 class="entry-title"><a href="' . get_permalink() . '" title="' . the_title_attribute( 'echo=0' ) . '" rel="bookmark">', '</a></h2>', false );
    	}
    
    	/* If there's no post title, return a clickable '(Untitled)'. */
    	if ( empty( $title ) && !is_singular() && 'link_category' !== get_query_var( 'taxonomy' ) )
    		$title = '<h2 class="entry-title no-entry-title"><a href="' . get_permalink() . '" rel="bookmark">' . __( '(Untitled)', 'origin' ) . '</a></h2>';		
    
    	return $title;
    }

    Sorry for asking all these questions, but I really need your help.

    Thanks

    Thread Starter accretio

    (@accretio)

    Okay, thanks Phil. Will try it out and let you know like before.

    Thread Starter accretio

    (@accretio)

    Bad news again. Phil, I searched through both page.php and single.php and I couldn’t find find any of the code that you provided.

    And David, I also searched for the those two things and I couldn’t find them as well.

    Please guys, could you help me some more?

    Thread Starter accretio

    (@accretio)

    Thanks guys, will try your suggestions and let you know…

    Thread Starter accretio

    (@accretio)

    Okay, I think you’re right David.

    What I’m trying to is remove the hyperlink from the title “Introducing: NipponReview” and make it red.

    Here is a link: http://nipponreview.kdmonline.co.za

    I also want all the static page titles to be this way in future.

    How would I go about doing this? Any help would really be appreciated.

    Thread Starter accretio

    (@accretio)

    Bad news, can’t find it in either of the 3 files. Any other suggestions? Please guys, I’m really desperate!

    Thread Starter accretio

    (@accretio)

    Okay, thanks guys. Will have a look and let you know.

    Thread Starter accretio

    (@accretio)

    Okay thanks esmi.

    Thread Starter accretio

    (@accretio)

    Just added the code and IT WORKS! Thanks so much Rev. Voodoo and blacklizt, I really appreciate it.

    Thread Starter accretio

    (@accretio)

    Okay, thanks blacklizt and Rev. Voodoo. Will add the code and let you know.

    Thread Starter accretio

    (@accretio)

    Okay, just edited my stylesheet and nothing has changed. I changed it to #fff but it still remains black.

    Please help me!

    Thread Starter accretio

    (@accretio)

    Thanks Rev. Voodoo, will try it and let you know…

    I’m using Oxygen, it only allows you to change the hyperlink color and font size. But not the default font color or the hover color.

    Thread Starter accretio

    (@accretio)

    Hey man, sorry to bother you again. I have another problem that I’d like to sort out. As you can see, the text is now white with red hyperlinks.

    When I hover over the red hyperlinks, they turn black and then I am unable to see them unless I move the cursor away. How do I change this?

    Please tell me, sorry again for asking so much questions.

    thanks in advance

    Thread Starter accretio

    (@accretio)

    Thanks so much!!!!!!!!!!!!!!!!!!!! This is great, I’ve been struggling with this problem for an entire day. I really appreciate it, the font colors are now white like i wanted.

    Thanks for all your help.

Viewing 15 replies - 1 through 15 (of 17 total)