inscoe2000
Forum Replies Created
-
Forum: Plugins
In reply to: [Facebook Page Publish] [Plugin: Facebook Page Publish] Unable to configureYea, it worked for me. Ignore my post in the other thread.
I am getting the same error message as RandyKing. I’d like this to work.
Forum: Fixing WordPress
In reply to: How to remove sidebar from multiple pagesI ended up making custom page templates with variations on what sidebars I wanted showing. Worked great.
Forum: Fixing WordPress
In reply to: How to remove sidebar from multiple pagesI love the code for removing the sidebar on a page, but what if I want to remove it from more that one page. I tried
<?php if (is_page(‘x’, ‘y’)) : ?>
But it only worked on the x page.
Forum: Themes and Templates
In reply to: [utility] [Theme: utility] Change headerNever mind. I found the answer on the developer’s website.
To change the size of logo you need to a small change in code.
Open config_variables.php inside theme folder.
Search for these lines.define( ‘HEADER_IMAGE_WIDTH’, 144);
define( ‘HEADER_IMAGE_HEIGHT’, 61);Here you can define your own width and height and upload the new logo from the Admin Panel.
Thank you. That worked perfectly. Initially I didn’t put the custom css file in the wp-content directory as instructed (had it in root folder). When I changed that the problem was solved.
Ahhh I should have figured the media library.
@ veraxus
Hopefully you enjoy giving obvious answers. Thanks so much. Problem solved.
The website, good idea. http://www.homebrewyourfirstbeer.com
So how do I edit the tag?
I don’t think so. It’s a sub-domain. Is that the same thing?
No it is not… 🙂
Thank you Eran for educating….
Here is the message I get in the javascript console.
2XMLHttpRequest cannot load http://ronaldmallen.seniors4generations.com/wp-admin/admin-ajax.php. Origin http://ronaldmallen.com is not allowed by Access-Control-Allow-Origin.
Same thing is happening to me. Please help.
Forum: Fixing WordPress
In reply to: WordPress theme reverts to default and all post/page data disappearsI’ve had exact thing happen to me too, with three wordpress websites. It’s quite frustrating. Help please.
http://www.organicfeeds.biz
http://www.tuf-climatecoop.focuspage.com
http://www.henhotel.focuspage.comForum: Fixing WordPress
In reply to: Adding subpages without it appearing on the navigation barHow to manage/hide subpages in the main menu makes sense, but I can’t find any code for wp_list_pages or a way to adjust the depth parameter. here is what I have. I’m almost pulling my hair out.
<!-- BEGIN MAIN-NAV.PHP --> <ul> <!-- To show "current" on the home page --> <li<?php if (is_home()) { echo " id=\"current\""; } ?>> <?php $pages = $wpdb->get_results("SELECT post_name, post_title, ID FROM $wpdb->posts WHERE post_type='page'"); $getTitle=trim(wp_title(' ', false)); $check=0; foreach($pages as $page){ ?> <?php $getPageTitle=trim($page->post_title); if($getTitle==$getPageTitle) {$check=1;} ?> <li> <a <?php if($check==0)echo'id="mactive"' ?> href="<?php echo get_settings('home')."/?page_id=".($page->ID); ?>"><span class="mLink"><?php echo $page->post_title; ?></span> <span class="m<?php echo $page->post_title; ?>"></span> </a> </li> <?php } ?> </ul> <!-- END MAIN-NAV.PHP -->Here is the code for the header:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head><title> <?php if (is_home()) { echo bloginfo('name'); echo ": "; echo bloginfo('description'); } elseif (is_404()) { echo '404 Not Found'; } elseif (is_category()) { echo 'Topics:'; wp_title(''); } elseif (is_search()) { echo 'Search Results'; } elseif (is_day() || is_month() || is_year() ) { echo 'Archives:'; wp_title(''); } else { echo wp_title(''); $subtitle = get_post_meta($post->ID, 'Subtitle', $single = true); if($subtitle !== '') { echo ': ' . $subtitle; } } ?> </title> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <meta name="robots" content="all" /> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <meta http-equiv="author" content="Oleg" /> <meta http-equiv="contact" content="http://www.metamorphozis.com/contact/" /> <meta name="copyright" content="Copyright (c) 2005-<?php echo date("Y",time()); ?> Metamorphozis. All Rights Reserved." /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <?php /***Do not Edit it***/ wp_head(); global $options; foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } } global $link_privacy,$link_terms; $link_privacy=$mt_ice_link_privacy; $link_terms=$mt_ice_link_terms; /*** End of Do not Edit Restriction***/ ?> </head> <body> <div id="menu"> <?php include (TEMPLATEPATH . '/main-nav.php'); ?> </div> <div id="content"> <!-- start header --> <div id="header"> <div id="logo"> </div> </div>