jayant26
Forum Replies Created
-
Tried clearing the cache but still doesn’t work. I set it for only Friday so people can make bookings only from Friday to Friday for any number of weeks, but it still accepts any start date.
When I mean not showing the prices, I mean for it not to show on the calender. I still want it to calculate accordingly.
Also none of the details in the form show up when someone makes a booking.
I realise this is a free plugin and I don’t mind buying the pro one, if all the above works.
Many thanks
Also didn’t want the prices showing on everyday of the calender. Which file do I edit to take this off? Thanks
I’ve tried that. Doesn’t work. Do I need to clear the cache?
Many thanks
Hi datenwerk,
Could you possibly tell us which files to edit and lines please?
Much appreciated.
Forum: Fixing WordPress
In reply to: Hide entire content on front pageHi there,
Thanks for all the help. In case anyone is looking this is what I did eventually –
Just edited the home.php file as that was set up as a static home page. There were too many calls in that page for
if (is_front_page() )
so I had to get rid of all that and stylise the page to what I wanted it.I then created a header-home.php file (in essence, a copy of the header.php file and edited that so that if it was the front page everything but the logo didn’t appear.
The last thing was to call this header in the home page so I used this –
get_header('home') ?>
in the home.php. So this serves up the header for the home page, and the rest of the pages get served up just the normal header.Hope I’m clear and that this helps someone if they are looking to make a site with just a slide show in the front page.
Forum: Fixing WordPress
In reply to: Hide entire content on front pageSorry, it wiped the code off. Didn’t realise there was a maximum number of lines. Here are the first few from what I have added on to the top up until the else function –
<?php if (is_front_page()) get_template_part('homeo'); ?> <? else { ?> <?php if( ( is_home() || is_front_page() ) && get_option( 'show_on_front' ) == 'posts' ) { get_template_part( 'blog', 'home' ); die; }
[Moderator Note: Please post code or markup snippets between backticks or use the code button.]
Forum: Fixing WordPress
In reply to: Hide entire content on front pageHey,
Thanks so much for your help. I tried that, but can’t get it to work. Did some searching and have used get_template_part function but now it loads up the home1.php and home.php. Don’t think I’m using the ‘else’ function right?
Anyway, I’ve posted the home page below and your help would be greatly appreciated. Many thanks.
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
Forum: Fixing WordPress
In reply to: Hide entire content on front pageThanks for that. Tried to put that in the header.php but get errors and and don’t know which code to put in to keep the logo and side bar.
Made a copy of the home.php and called it home1.php and used the code above and put this in
" title="<?php bloginfo('name') ?>"
before the<? }
else. It’s incorrect, but how do I ask wordpress to call for the modified home1.php?Many thanks<