Forum Replies Created

Viewing 15 replies - 361 through 375 (of 703 total)
  • Phil

    (@owendevelopment)

    You edit the theme from inside WordPress – you’ll most likely have theme options to control certain things, but you can then go to ‘Appearance’ -> ‘Editor’ and edit the rest of the files from there.

    Forum: Fixing WordPress
    In reply to: Bold text
    Phil

    (@owendevelopment)

    Try adding this to the bottom of your style.css:

    strong {
    font-weight: bold !important;
    }

    Or… If you use Firefox, use the firebug plugin to highlight why bold does nothing.

    Phil

    (@owendevelopment)

    Your logo is looking for http://www.rolinkaversluis.nl/?attachment_id=470

    …which does not exist.

    It should be the path to where your logo is on the server.

    Phil

    (@owendevelopment)

    No problem. 🙂

    Phil

    (@owendevelopment)

    All you need to do is by either using FTP or through your hosting control panel, navigate to wp-content/themes and drag the theme folder from Themeforest into it.

    Normally if you buy a theme from themeforest, it usually has instructions in the zip file so be sure to check.

    Phil

    (@owendevelopment)

    Try pasting this updated version from Pastebin.

    Backup the current header.php file first.

    Phil

    (@owendevelopment)

    Try clearing your browser cache. Your style.css shows it unchanged. Maybe your save function isn’t working on the stylesheet?

    The links in style.css are still the old colours, so either your style.css isn’t updating, or something is overwriting it – do you have theme options to set the link colours?

    Phil

    (@owendevelopment)

    There will be two, but probably with logo in there somewhere. Without seeing the header.php file it’s hard to know what it would look like. Maybe paste your header.php file in pastebin

    Phil

    (@owendevelopment)

    You’ll have to look into header.php (‘Appearance -> editor’) and remove the second reference.

    Phil

    (@owendevelopment)

    I changed these two bits in your style.css through my browser and it changed the colours:

    line 1014:

    .entry-title a:link, .entry-title a:visited {
        color: #580000;
        text-decoration: none;
    }

    and…
    line 729:

    a:link {
        color: #580000;
    }

    Phil

    (@owendevelopment)

    1. you move all the files from the /wp directory to root (NB. htdocs IS the root).

    2. Once moved all wp directories / files to root, go into database via PHPMyAdmin,

    3. Navigate to the wp_options table and you’ll need to change two sections: site url and wordpress url. Make sure this is now http://www.mysite.com (with no /wp).

    That should be it.

    Phil

    (@owendevelopment)

    These look like empty links… the correct way to add a link is like this:

    <a href="http://newsco-software.co.uk/wp/index.php/test-page-2/" title="Test Page 2" rel="nofollow">Look at Test Page 2</a>

    Phil

    (@owendevelopment)

    Try changing to this:

    **
     * 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">', '</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;
    }

    Do a backup of your functions.php file first incase you need to revert it back. All I’ve done here is remove the tags from the h2.

    Phil

    (@owendevelopment)

    functions.php:

    /**
     * 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 );
    	}

    Just remove the a tags…

    🙂

    Forum: Fixing WordPress
    In reply to: Backing up design
    Phil

    (@owendevelopment)

    FTP, go to /wp-content/themes/your theme

    Backup your themes folder onto your pc somewhere.

Viewing 15 replies - 361 through 375 (of 703 total)