radhika
Forum Replies Created
-
According your theme the header image is fixed in style.css template. you can edit here the width header-banner:
#header-banner { width: 68.08510638297872%; <--edit the image float: right; }
and edit the custom-width of image in function.php template of your theme.
$args = array( 'width' => 630, <-- edit the width 'height' => 360, 'header-text' => false, 'default-image' => trailingslashit( get_stylesheet_directory_uri() ).'images/header_default.png', 'uploads' => true, ); add_theme_support( 'custom-header', $args );
you want to change the size of header image.
Forum: Themes and Templates
In reply to: How to remove frame lines from Eclipse theme?You have used the jQuery orbit plugin for slideshow due to which this horizontal dividing line is displaying. you have to edit in foundation.css of your plugin stylesheet:
Search .orbit-wrapper in foundation.css:.orbit-wrapper{
border: none !important;
}Forum: Fixing WordPress
In reply to: Make Homepage display only posts from a single categoryYou have to add this code after this <div id=”content”> in your code.:
<?php $a = query_posts(array( 'cat' => 3, //edit here the category id 'posts_per_page' => 1, 'paged' => get_query_var('paged')) ); ?>
Forum: Themes and Templates
In reply to: Trouble unlinking uploaded background image from new pagesIf you want to remove the comment box of a particular post then you have to edit the post. Follow these steps:
1. Go to your WordPress Administration Panel.
2. Edit post > screen options > select the discussion checkbox.
3. Do not select the checkbox of allow comments from the discussion box.Forum: Fixing WordPress
In reply to: Make Homepage display only posts from a single categoryyou want to display a particular category post on your site.
Forum: Fixing WordPress
In reply to: Make Homepage display only posts from a single category@9tailedfox0531
you can be used this code to display a single post & category in your template.display a single post:
<?php $abc = query_posts(array('posts_per_page' => 1,'paged' => get_query_var('paged')) ); ?>
and display a single category (include the category id in this code):
<?php wp_list_categories('include=3&title_li='); ?>
you can follow this link.
Forum: Themes and Templates
In reply to: [TwentyEleven] Page content inside sidebarAnd you follow this code in sidebar.php template of your theme.
<?php $page_id = 54; // edit here the id of the page $page_data = get_page( $page_id ); echo '<h3>'. $page_data->post_title .'</h3>'; echo apply_filters('the_content', $page_data->post_content); ?>
Forum: Themes and Templates
In reply to: [PinBlack] [Theme: PinBlack] FaviconFollow these steps:
1. Go to your WordPress Administration Panel.
2. Upload the favicon image using the media library.
3. Click on Theme Editor.
4. Select the header.php file.
5. Search this code if not included then add the following code below the <head> HTML tag.<link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico (name of image)" />
and you can follow this link.
Forum: Themes and Templates
In reply to: [TwentyEleven] Page content inside sidebar@apoklyps3
are you dragged the widget ‘page in widget’ in sidebar and select the template of the page.Forum: Themes and Templates
In reply to: Hiding site-title and site-descriptionyes, it is alright.
Forum: Themes and Templates
In reply to: Adding a Footer Navigation Menu Bar to Twenty Elevenyou have to add this code in footer.php template of your theme.
<?php wp_nav_menu( array( 'menu' => 'menu-footer', 'theme_location' => 'secondary' ) ); ?>
And you will have to do some styling for horizontal menu bar in style.css template.
Follow this link for the navigation.[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]
Forum: Themes and Templates
In reply to: Need sidebar.php code that comes with Under the Influence theme.Do the following steps:
1. Restore the original sidebar.php from the theme
2. Edit sidebar items from the Admin interface by navigating to Appearance > Widgets.Forum: Themes and Templates
In reply to: [TwentyEleven] Page content inside sidebar@apoklyps3
you have to need to replace the ‘the_excerpt’ by the ‘the_content’ in the code.<?php $page_id = 2; // edit here the id of the page $page_data = get_page( $page_id ); echo '<h3>'. $page_data->post_title .'</h3>'; echo apply_filters('the_content', $page_data->post_content); ?>
Forum: Themes and Templates
In reply to: Need sidebar.php code that comes with Under the Influence theme.You want to keep the sidebar in your site.