kaushal dip subba
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Delete Menubaryes definetly u can do this :)… for the menubar u to view as side bar u need to have your own style. u can create every custom design for your WP site.
wordpress allow you to create you own theme.
you can view https://codex.www.ads-software.com/Theme_DevelopmentForum: Themes and Templates
In reply to: [Theme: Twenty Eleven] How Remove Pages Links from Headerfirst off all in the menu in create a menu name ‘Main menu’.
and paste the code<?php $defaults = array( 'container' => '', 'container_class' => '', 'menu' => 'Main Menu', 'echo' => 0, 'items_wrap' => '<ul>%3$s</ul>', ); $menu_item = wp_nav_menu($defaults); $menu_item = str_replace('</li>', '</li><li></li>', $menu_item); $menu_item = trim($menu_item); ?> <?php echo $menu_item; ?>
somewhere in header.php where u wanna ur menu to locate. and in the menu section on the wp-admin panel. add the menu u wanna use for the header part. similarly . for the footer menu create a next menu name ‘Footer menu’.
`<?php
$defaults = array(
‘container’ => ”,
‘container_class’ => ”,
‘menu’ => ‘Main Menu’,
‘echo’ => 0,
‘items_wrap’ => ‘<ul>%3$s</ul>’,
);$menu_item = wp_nav_menu($defaults);
$menu_item = str_replace(‘</li>’, ‘</li><li></li>’,$menu_item);
$menu_item = trim($menu_item);
?>`
<?php echo $menu_item; ?>
and place the above code where u wanna show ur footer menus. similar to the header menu . Add your post and pages and custom menu ..
hope this work out for u. any thing u wanna ask plz note it domn here.
anstrangel0ver.
Forum: Themes and Templates
In reply to: Need a Custome pagei got the ideas of you. first of all you need do is creating a template that will be as same as you otherr page but simply the content of the gallery will be change as it is on the https://rubelraj.com/phy/gallery/.
is this right?
it will be better is you paste ur page.php file so that i could make a template file for you as u need the code itself.Forum: Themes and Templates
In reply to: Twenty Eleven Theme Menu ProblemThe thing u must know is the category page is called single.php that lies in your twenty eleven theme. but the information you have given is not sucifient to solve your problem.I think the category pages looks more better then the home page. You are having alot of design problem in you home page. can you juss paste your code for the homepage. that will help out to know more about your site.
anstrangelover
Forum: Themes and Templates
In reply to: custom background@usubba thanks for you reply but m here trying to change the header and footer backbround either my color or image background. n m trying to use the build in function add_custom_background for adding the background-image or background-color as the wordpress background under apperance provide for changing the background. anywas i have done some modification on the custom-header.php file. also added the class provided by the
body_class()
. ANd for the footer i addem a theme page that upload the image or pick the color from the colorpicker of wordpress that i have same in wp_option table. n its working pretty much.anyway thanks for ur reply.namaste,
kaushal dip subba