|
#1

Jul 31, 2013, 03:11 PM
|
|
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

Jul 31, 2013, 05:01 PM
|
|
|
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

Aug 1, 2013, 04:50 AM
|
 |
|
|
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

Aug 1, 2013, 06:42 AM
|
|
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

Aug 2, 2013, 12:20 AM
|
|
|
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

Aug 2, 2013, 03:49 AM
|
 |
|
|
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
|
#7

Aug 2, 2013, 04:07 AM
|
|
Do you know what code should I put into my template to make the same looking menus in my front page as in my blog ? ( www.celineh2o.com/blog)
Thank you!
|
#8

Aug 2, 2013, 05:30 AM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Post back when you've taken the site out of maintenance mode
|
#9

Aug 2, 2013, 08:55 AM
|
|
I didn't put my site on maintenance mode, only my shop.
I only have two problems with my static front page ( www.celineh2o.com) that are hard for me to resolve, and I'd be glad if you could give me some advices.
- my menus are up in the header (don't know why..), and I'd like to put them in the default area
- I'd like to put a slideshow on my static front page, but it never seems to work, it only shows the first pictures. Do you have any ideas why it doesn't work?
Thanks
|
#10

Aug 2, 2013, 09:02 AM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Try accessing your site whiole not logged in - it's in maintenance mode
|
#11

Aug 2, 2013, 09:58 AM
|
|
I removed the maintenance mode from my shop, maybe it was because of that.
When I access to my site without being logged in, I don't see it in maintenance mode. But it's weird because when I'm logged in I can see the menus, and when I'm not they're gone...
|
#12

Aug 2, 2013, 11:12 AM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
now I can see the site but www.celineh2o.com/blog gets a not found
|
#13

Aug 3, 2013, 02:18 AM
|
 |
|
|
299 posts · Aug 2010
Santa Monica, CA
|
|
I can see the site, but I don't see your slides. You may need to ask about WP Photo Album Plus on their support forum.
Are you editing the actual theme files, or are you editing the virtual Main Templates (Appearances > Montezuma Options > Main Templates), or did you create a child theme? The code that you've posted doesn't looks like virtual template.
|
#14

Aug 3, 2013, 04:12 AM
|
|
Ok I think that now everything works well, but I still can't put a slideshow in my static front page. Thank you CrouchingBruin, I'll take a look at "WP photo album plus" forum.
I don't now if I created a child theme, in fact I don't really know what I'm doing  I just created a custom template for my static front page and put some codes in it. I think it worked, and it looks as I wanted to.
|
|