SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict anita_86's Avatar
    Join Date
    Aug 2010
    Location
    Nagpur, India
    Posts
    228
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Vslider customisation problem

    Hi.
    I have wootheams canvas theme installed in my local computer.I want to add vSlider just below the navigation. Please tell me how I can do this.

    Also, i want to disable the posts page completely. As I want to make a regular site and not a blog. I could not find this setting in settings -> reading. Please tell me is this possible to display just pages and not posts in a theme?
    It's easy once you know how...

  2. #2
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    1. I would need more info on your theme, maybe a code example to attempt to answer this question.

    2. Yes it's possible. Do not create any "blog" posts and just create "pages", then don't link to the "blog" section from anywhere on the site. Only link to the pages you want people to see.

    As to how to remove them from your front page and display another pages contents. Goto your WP dashboard and under settings > reading there is a section to tell it what to display on the front page and where to display the blog posts, but first...

    1. You need to create a page for the home page and a page to display the blog posts (even though you will not be using it) you still need to create a place for the blog posts to live.
    2. Then return to the settings page I mentioned above and from the 2 drop down menus select the page you made to be the home page for the front page. Then choose the page you made for blog posts to live for the blog posts page.
    3. Then as mentioned above, don't link to that "blog posts" page or any other blog related pages such as archives, categories, dates and so on... from anywhere on your site.
    Hope it helps.

  3. #3
    SitePoint Addict anita_86's Avatar
    Join Date
    Aug 2010
    Location
    Nagpur, India
    Posts
    228
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your reply RetroNetro.I will try this soon and will let you know.What kind of code I should provide you? Here is code of header.php.That might be of any use?

    Code:
    <?php
    /**
     * Header Template
     *
     * Here we setup all logic and XHTML that is required for the header section of all screens.
     *
     * @package WooFramework
     * @subpackage Template
     */
     
     // Setup the tag to be used for the header area (`h1` on the front page and `span` on all others).
     $heading_tag = 'span';
     if ( is_front_page() ) { $heading_tag = 'h1'; }
     
     // Get our website's name, description and URL. We use them several times below so lets get them once.
     $site_title = get_bloginfo( 'name' );
     $site_url = home_url( '/' );
     $site_description = get_bloginfo( 'description' );
     
     global $woo_options;
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <title><?php woo_title(); ?></title>
    <?php woo_meta(); ?>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="all" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php if ( is_singular() ) { wp_enqueue_script( 'comment-reply' ); } ?>
    <?php wp_head(); ?>
    <?php woo_head(); ?>
    </head>
    <body <?php body_class(); ?>>
    <?php woo_top(); ?>
    <div id="wrapper">        
    	<?php woo_header_before(); ?>
        
    	<div id="header" class="col-full">
     		
    		<?php woo_header_inside(); ?>
           
    		<div id="logo">
    		<?php
    			// Website heading/logo and description text.
    			if ( isset($woo_options['woo_logo']) && $woo_options['woo_logo'] ) {
    				echo '<a href="' . $site_url . '" title="' . $site_description . '"><img src="' . $woo_options['woo_logo'] . '" alt="' . $site_title . '" /></a>' . "\n";
    			} else {
    				echo '<' . $heading_tag . ' class="site-title"><a href="' . $site_url . '">' . $site_title . '</a></' . $heading_tag . '>' . "\n";
    			} // End IF Statement
    			
    			if ( $site_description ) { echo '<span class="site-description">' . $site_description . '</span>' . "\n"; }
    		?>
    		</div><!-- /#logo -->
    	       
    		<?php if ( ( isset( $woo_options['woo_ad_top'] ) ) && ( $woo_options['woo_ad_top'] == 'true' ) ) { ?>
            <div id="topad">
            
    		<?php if ( ( isset( $woo_options['woo_ad_top_adsense'] ) ) && ( $woo_options['woo_ad_top_adsense'] != "") ) { 
                echo stripslashes(get_option('woo_ad_top_adsense'));             
            } else { ?>
                <a href="<?php echo get_option('woo_ad_top_url'); ?>"><img src="<?php echo $woo_options['woo_ad_top_image']; ?>" alt="" /></a>
            <?php } ?>		   	
                
            </div><!-- /#topad -->
            <?php } ?>
           
    	</div><!-- /#header -->
    	<?php woo_header_after(); ?>
    It's easy once you know how...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •