Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Static home page with different menus and without widgets


  #1  
Old Jul 31, 2013, 03:11 PM
celine123
 
6 posts · Jul 2013
Static home page with different menus and without widgets

Hello!

I'd like to give a more professional look to my blog (http://www.celineh2o.com) , by making its front page static that includes my logo (I'm a jewelry designer), a slideshow of some pictures of my work, a different menu with two categories (one that links to my shop and the other to my blog), and get rid of the widgets.

I already know how to make my home page static. I tried to create a front page template, as I've read in a couple of threads, but I know nothing about coding so it's overwhelming...I've also searched all the afternoon how to have a different menu on the front page, but nothing was really helpful..

I'd be very glad if you could help me!

Thank you.

(please excuse me is there are any language mistakes, I'm French, English is my second language)
  #2  
Old Jul 31, 2013, 05:01 PM
jerryc
 
367 posts · Oct 2012
Florida
Assuming you want your custom menus in the header, you may need to deal with this (if the bug hasn't been fixed yet.) If it's just one template, you can just put the custom header code right into the template, and delete the header command.

To put in a different menu, first make it at dashboard > appearance > menus.

Then, in the header code, substitute the default header for your custom one.

Do get rid of the widgets, just delete the code that puts them in in your front-page.php template. Look for the word sidebar. It should be pretty obvious.
  #3  
Old Aug 1, 2013, 04:50 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
site is throwing an error
HTML Code:
Parse error: syntax error, unexpected '<' in /homepages/40/d452865391/htdocs/wp-content/themes/montezuma/front-page.php on line 6
  #4  
Old Aug 1, 2013, 06:42 AM
celine123
 
6 posts · Jul 2013
I managed to remove the widgets and add a different menu, but I don't know how to make it look like the menus in my blog (with the stars above). I also noticed that the page is duplicated...

And do you know how to center the picture?
Here is my front page template (it may be a mess, I'm a novice in this area):
HTML Code:
<?php
/*
Template Name: Front page
*/
?>

<?php get_template_part( 'head' ); ?>
</head>
<link rel="menu2" type="text/css" href="menus_menus2.css" />
<body <?php body_class(); ?>>
	
<?php 


		?>

	<div id="banner-bg" class="cf">
	<div id="banner" class="row">
		<div id="logo-area" class="col5">
			<<?php bfa_if_front_else( 'h1', 'h3' ); ?> id="sitetitle">
				<a href="<?php echo home_url(); ?>"><?php bloginfo( 'name' ); ?></a>
			</<?php bfa_if_front_else( 'h1', 'h3' ); ?>>
			<p id="tagline"><?php bloginfo( 'description' ); ?></p>
		</div>
		<?php wp_nav_menu( array( 
			'container' => 'nav', 
			'container_class' => 'menus_menus2-wrapper col7', 
			'container_id' => 'menu2-wrapper', 
			'menu_id' => 'menus_menu2', 
			'menu_class' => 'cf menu', 
			'theme_location' => 'menu2', 
			'fallback_cb' => 'bfa_page_menu' 
		) ); ?>
	</div>
</div>
<link rel="menu2" type="text/css" href="menus_menus2.css" />

<div id="breadcrumbs1-bg">
	<nav id="breadcrumbs1" class="breadcrumbs lw">
		<?php bfa_breadcrumbs( 'breadcrumbs1' ); ?>
	</nav>
</div>

</div>
	

<div id="main" class="row">
	
	<div id="content" class="col8">
		
		<div id="post-<?php the_ID(); ?>" <?php post_class('cf'); ?>>

			<h1>
				<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a>
				<?php bfa_comments_number(); ?>
			</h1>
			
			<div class="post-bodycopy cf">
				<?php the_content(); ?>
				<?php wp_link_pages( array( 
					'before' => __( '<p class="post-pagination">Pages:', 'montezuma' ), 
					'after' => '</p>'
				) ); ?>
			</div>

			<?php edit_post_link( __( 'Edit', 'montezuma' ) ); ?>

		</div>
<div id="main" class="row">

	<div id="content" class="cf col8">
		
		<?php bfa_content_nav( 'multinav1' ); ?>
		
		<?php bfa_loop( 'postformat' ); ?>
		
		<?php bfa_content_nav( 'multinav2' ); ?>
		
	</div>



<?php get_footer(); ?>
		

<div id="breadcrumbs1-bg">
	<nav id="breadcrumbs1" class="breadcrumbs lw">
		<?php bfa_breadcrumbs( 'breadcrumbs1' ); ?>
	</nav>
</div>

</div>
	

<div id="main" class="row">
	
	<div id="content" class="col8">
		
		<div id="post-<?php the_ID(); ?>" <?php post_class('cf'); ?>>

			<h1>
				<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a>
				<?php bfa_comments_number(); ?>
			</h1>
			
			<div class="post-bodycopy cf">
				<?php the_content(); ?>
				<?php wp_link_pages( array( 
					'before' => __( '<p class="post-pagination">Pages:', 'montezuma' ), 
					'after' => '</p>'
				) ); ?>
			</div>

			<?php edit_post_link( __( 'Edit', 'montezuma' ) ); ?>

		</div>
<div id="main" class="row">

	<div id="content" class="cf col8">
		
		<?php bfa_content_nav( 'multinav1' ); ?>
		
		<?php bfa_loop( 'postformat' ); ?>
		
		<?php bfa_content_nav( 'multinav2' ); ?>
		
	</div>

Last edited by juggledad; Aug 2, 2013 at 03:47 AM.
  #5  
Old Aug 2, 2013, 12:20 AM
jerryc
 
367 posts · Oct 2012
Florida
You might need to hire a professional to sort this out. You could also try building it yourself in pieces. You'll learn a lot that way.
  #6  
Old Aug 2, 2013, 03:49 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Your site looks like it is in maintenance mode

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Widgets for category menus on home page??? thebizymommy Center area post/pages 1 Feb 19, 2013 06:20 PM
Home Page (Static Page) Slider Images overlapping widgets on smaller/vertical screens CatalystCooks Atahualpa 3 Wordpress theme 1 Apr 13, 2012 03:07 PM
code for static home page widgets sober Sidebars & Widgets 6 Jan 28, 2011 11:36 AM
show static under menus once in a page fjourde Page & Category Menu Bars 3 Mar 18, 2010 05:40 AM
Static home page, how to drop sidebars or remove widgets without changing blog pages. bestbreedmarketing Atahualpa 3 Wordpress theme 1 Feb 8, 2010 12:39 PM


All times are GMT -6. The time now is 11:04 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.