Tav Yabe
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom Menu not appearingWorks a treat! Thank you so much govpatel ๐
Forum: Fixing WordPress
In reply to: Custom Menu not appearingsorry to be a little dense but I’m a complete newbie to wrodpress and html and don’t really understand what you mean. Could you tell me what I need to change on the Header or Function to make it work? Thanks for your help ๐
Forum: Fixing WordPress
In reply to: Custom Menu not appearingthanks govpatel, the header is:
the Header is:<!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> ยป Blog Archive <?php } ?> <?php wp_title(); ?></title> <?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_get_archives('type=monthly&format=link'); ?> <?php wp_head(); ?> </head> <body <?php body_class() ?>> <div id="header-wrapper"> <div id="header"> <h1>"><?php bloginfo('name'); ?></h1> <h2><?php bloginfo('description'); ?></h2> </div> </div> <div id="access-wrapper"> <div id="access" role="navigation"> <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?> <div class="clearfix"></div> </div> </div> <div id="root"> <div id="main">Forum: Fixing WordPress
In reply to: Custom Menu not appearingThe theme does not have a settings page to make adjustments. I went to the Appearance>Menu page and added a new menu titled ‘Main Menu’ and then selected ‘main menu’ in the ‘theme location’ box and saved it but nothing changes on the actual site. Perhaps someone can tell me what to edit? the Theme Functions in the editor is:
<?php
define(‘HEADER_IMAGE_WIDTH’, ‘900’);
define(‘HEADER_IMAGE_HEIGHT’, ‘138’);
define(‘HEADER_TEXTCOLOR’, ‘ffffff’);
$content_width = “600”;
add_theme_support(‘automatic-feed-links’);
add_theme_support(‘post-thumbnails’);
register_sidebar(array(‘name’=>’Widgets’,
‘description’=>’Widgets in this area will be shown on the right-hand side.’,
‘before_title’=>'<h3>’,
‘after_title’=>'</h3>’,
‘before_widget’=>'<div class=”box”>’,
‘after_widget’=>'</div>’));register_nav_menu(‘main’, ‘Main navigation menu’);
add_custom_background();
if (!function_exists(‘bigcity_header_style’)) {
function bigcity_header_style() {
if (get_header_image ()) {
?><style type=”text/css”>
#header {
background: url(<?php header_image(); ?>) no-repeat;
}
</style><?php
}
}
}if (!function_exists(‘bigcity_admin_header_style’)) {
function bigcity_admin_header_style() {
?><style type=”text/css”>
#header {
width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
}
</style><?php
}
}
add_custom_image_header(‘bigcity_header_style’, ‘bigcity_admin_header_style’);and the Header is:
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<?php if ( is_singular() && get_option( ‘thread_comments’ ) ) wp_enqueue_script( ‘comment-reply’ ); ?>
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php wp_get_archives(‘type=monthly&format=link’); ?>
<?php wp_head(); ?>
</head>
<body <?php body_class() ?>>
<div id=”header-wrapper”>
<div id=”header”>
<h1>“><?php bloginfo(‘name’); ?></h1>
<h2><?php bloginfo(‘description’); ?></h2>
</div>
</div>
<div id=”access-wrapper”>
<div id=”access” role=”navigation”>
<?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’ ) ); ?>
<div class=”clearfix”></div>
</div>
</div>
<div id=”root”>
<div id=”main”>I’m not having a dig, I’m very grateful to all the WP coders for all their voluntary work. But I had a problem with the plugin, asked for help, waited a week and then went with a different plugin because it did not have the same problem – no offence or disrespect intended.
Yeah, the lack of response has pursuaded me to uninstall the plugin and revert to All In One SEO.
Forum: Fixing WordPress
In reply to: How to have a subpage appear in the menu bar under two parent pagesThank you, my fault for being an idiot! I was using a theme which did not allow custom menus! Thank you for pointing out the bloody obvious to me ๐
Forum: Fixing WordPress
In reply to: RSS feed missingForum: Fixing WordPress
In reply to: RSS feed missingbump ๐
Forum: Plugins
In reply to: Custom Calculator Plugin Requestbump ๐
Forum: Plugins
In reply to: Custom Calculator Plugin RequestSorry, that may no be entirely clear – an examply would be that on one page of my site I will need a calculator which does “Z x Y x F -5 =” and on another page I’ll need “Z – D x 5 / E =” so it needs to be customisable.
Many thanks