canechecorre
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: take xml file with contents (wp) from a backupNo, I have only the backup (with the sql DB and the files of the website, but without the xml that i need)…
So… I need to do a new empty installation of wp on a host and then copy all the file of the backup on it?
And the DB?
How to have all the post&comments?(sorry if i am not clear, i am really a newbie)
Forum: Themes and Templates
In reply to: HTML PAGE BLOGI solved the problem.
I must put the html page in the same directory and it works.I must again thank you Kurt.
You were really kind with me, a real “noob”.Forum: Themes and Templates
In reply to: HTML PAGE BLOGI guess I did everything as you explained. I did the static page “Home” and then i connected it with the template page (custom-home.php).
But…when I go on my website, I got now a blank page. No errors signed, but still…a blank page.
Here the code of the template page: (The index.php code is closed in Begin & End, i put bold on your code part).
What i did wrong?<?php /* Template Name: Snarfer */ ?> <?php if( (strpos($_SERVER['HTTP_REFERER'], get_bloginfo('home')) === false) && !$_SERVER['QUERY_STRING']) { require_once('http://canechecorre.it/nonno/RomanoGiardini.html'); } else { ?> <!-- BEGIN #content-wrap --> <?php get_header();?> ..... <!-- END #content-wrap --> <?php } ?>[Moderator Note: Please post code or markup snippets between backticks or use the code button.]
Forum: Themes and Templates
In reply to: HTML PAGE BLOGI guess I did everything as you explained. I did the static page “Home” and then i connected it with the template page (custom-home.php).
But…when I go on my website, I got now a blank page. No errors signed, but still…a blank page.
Here the code of the template page: (The index.php code is closed in Begin & End, i put bold on your code part).
What i did wrong?[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: Themes and Templates
In reply to: HTML PAGE BLOGYou’re probably right, I’m a bit confuse.
So, i created a file, custom-home.php (a blank txt file), and I placed it in the directory where there are all the pages of the theme.
Now I see it in the wp editor.
Is it enough if i put only your code?I read the 2 guides you gave me, but…it’s not really clear.
What part should I follow?I must thank you for you help, really.
You’re really kind.Forum: Themes and Templates
In reply to: HTML PAGE BLOGHi. Thank you for the response, I was away until today.
A question:
I have already a template installated, so I guess I can’t add a new home page template, using the wp editor, or i don’t know how to do it.