How do I create a completely BLANK page?

Posted in: Newspaper
Post count: 76

Hi, I’d love to create a completely blank page template that shows up in the dropdown box area for choose page template. I need this page to be absolutely blank (no header, no footer) just the ability to have the content area (that would be edited via Visual Composer) and that is wide.

Any tips how to create that particular php page?

Post count: 7909

Hi,

I have made some tests, but unfortunately I cannot provide an accurate solution for this, the developers have to look at this and the javascript is not loading on the blank template. We will try to find a proper solution for this.

Thanks!

Post count: 76

Thanks for the update Alin, hopefully they find a solution soon. A blank page would be a great addition to the theme so we can create stuff like custom landing pages without pulling in the header and footer if we don’t need them.

Definitely keep me posted when this is available.

Post count: 76

Hey guys, any updates on this? I’d still really love to be able to create a truly BLANK page using your themes for landing page/other page design purposes on my site.

Post count: 7909

Hi,

We managed to create a full blank template, but please note that it not tested with all theme features so if something goes wrong in the future please don’t forget that you have some custom modifications.
You need to create a file in the root of the theme and paste this code – http://screencast.com/t/gubww9ephttp://pastebin.com/64k59mqS
Please add also this code in tagdiv_theme.js file(make a backup of your current file) – http://screencast.com/t/eznEFUSurNOhttp://pastebin.com/XSAA1p2k

Thanks!

Post count: 18

Hi, I’m also keen on creating landing pages (ideally without using an external landing page host), did this solution get tested any further?

Post count: 22421

Hi,
I have tested this again and it still works with the new version of the theme. Just follow Alin’s method and it should work fine.
Thank you!

Post count: 76

Excellent! Will definitely be implementing this because I am moving my site over and really need to make landing pages with my existing NewsPaper 6 theme.

Post count: 76

Oh question before I forget, can we somehow make these changes using a Child Theme, so that each time NewsPaper updates we wouldn’t have to go back in and paste the lines of code? Or must we always do it in the main file folder?

Post count: 22421

Hello,
It will work from the child theme. Just copy the file in your child theme folder, although you create a new custom file for this blank page. This will not be rewritten by the update as it does not originate from the theme.
Thank you!

Post count: 76

Hey all, just me again. Ok..back to the child theme thing. What files exactly would I place in the child theme folder and where? I want to be sure I do this right. I created the page-full-blank.php file and copied the text code linked above into it, then uploaded that completed file into the Child Theme folder. But what should I do for the JS file you mentioned above?

Also how would I place the codes for hiding ads that goes into the Tag-Booster file (as mentioned in this thread) into a Child Theme so that when the main theme gets updated I don’t have to always manually re-add the codes?

THANKS!

Post count: 22421

Hello,
Unfortunately the theme.js file cannot be edited through the child theme. You will have to add the code Aling gave you in the main theme for it. Please follow this guide to see how to set up your child theme: https://forum.tagdiv.com/child-theme-support/
In this same tutorial you will find the answer to your second question. Unfortunately files from wp_booster cannot be edited through child theme.
Thank you!

Viewing 12 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic.