Hello there folks.
My site ilovebicycletouring.com is coming on in design, but I want my blog page not to have all the side menus and headers. In fact I want it to be tot
You can check if your theme allows you to change to a full page template: Change The Look of Your Pages With Page Templates If not, that's part of the downside of using free themes - they have fewer options.
You could also hire someone to code it, but make sure they add a child theme if you aren't already using one. Otherwise, when you update, all changes/code will be lost.
Found it, just line with an If statement and it is done.
And you can put that in the file you want to show or not.
For example: only in side-bar.php or also in footer.php.
Code is (beginning of PHP file) <?php if ( is_page('2') || is_page('8')) : ?>
and then at the end <?php endif; ?>
This is of course not variable and only applies for:
ignorant-test.siterubix.com
Grtz,
Bert
Thanks Bert
Do I need to delete anything? And where exactly in the code do I need to place this?
Simon
No, you first have to say what you want to do with your header and footer? Cause, I prefer to check it on my test site first...
I will create the exact code for your site, but when you add a page, the code always needs to be adapted, by adding that page, you will understand what I mean, when you have the code...
But I would leave as is and only change the show/not show of the sidebar....
Grtz,
Bert
Hello Simon,
Sorry, I forgot a little bit about you and this info today.
There was always something else ongoing...
But here I am with your code (it is overwhelming how much it is, I know.... :-) ):
First you go in your dashboard to appearance and then you select editor.
In the next screen at the right side you select sidebar.php almost at the end below, I think the 2nd last PHP file (you will see).
In the content screen you add the first line just under "*/ enter ?>" and the second line at the end just under the line <!-- #secondary .widget-area.
<?php if ( is_page('I Love Bicycle Touring') || is_page('Best Touring Bicycles')) || is_page('About Simon')) || is_page('Privacy Policy')) : ?>
<?php endif; ?>
Then you click on "update file" below the content screen...
---------------------------------------------------------------
This line you can re-use when you add a new page where the sidebar must be shown, you copy everything between the " ", so also spaces, very important... and you paste this exactly before the double point from the first line above, you change 'new page' to the real name of the page and you click on "update file" below the content screen...
"|| is_page('another name')) "
---------------------------------------------------------------
I added 2 print screens so everything is easier to implement...
When you have a problem with implementation, don't hesitate to contact me!
Grtz,
Bert
PS: Download the print screens then they are viewable....
Hello,
Actually what you ask is not easy, you can definitely say: it is very difficult...
So, you have changed your front page to a static page and the post page you have linked to "Blog" in the menu & probably also a page.
Is that correct?
Also, I want to suggest: Only remove sidebars and not the header (footer something to think about, but starting with the sidebars)
Because when you remove the header the visitor cannot navigate anymore to get away from the blog...
I have put your theme on my test site http://ignorant-test.siterubix.com/
Grtz,
Bert
I think you need to add 'read more' after first paragraph in each of your posts, this will make a few of them visible on the screen. But as I said this is only a few.
I do no think it is trivial to remove headers.
Sidebar will disappear if you choose single column for all your posts. But I do not think this is a good option. Too wide texts is not good, studies show that optimal width for readers is only around 10 words, like in the text of this reply.
I also think that the result of removing the sidebar will not be what he expects....
And with not trivial you mean: it is not a good idea to remove the header?
Many themes have a full-page template that you can select for your front page or any other page. If your theme doesn't provide this, you have a couple of options. The first is to choose a theme that does have a full-page template. The second is to find a full-page template that you can load into your theme. This is a much more difficult task as you first have to identify a full-page template and then identify how you would add that to your theme. (Usually done by adding a page template PHP file)
See more comments
How do I make my blog page different to the rest of my site?
Hello there folks.
My site ilovebicycletouring.com is coming on in design, but I want my blog page not to have all the side menus and headers. In fact I want it to be tot
Hello Theislandman,
Can you please go to ignorant-test.siterubix.com to check if it is that what you want?
For now I have only disabled the sidebar for the Blog page...
And what do you want to do with the footer and the header?
But when you remove the header, the navigation buttons are gone...
Grtz,
Bert
Hi Ignorant. Thanks for that. How did you do it? And what is your test site? I'm curious as to how you lost the sidebar on the blog page!
Cheers
Simon
Hello Simon,
Your Welcome.... :-)
The test site is in my answer I have send to you...
ignorant-test.siterubix.com
And what do you want to do with the footer and the header?
But when you remove the header, the navigation buttons are gone...
How I did it:
in side-bar.php
Code is (beginning of PHP file) <?php if ( is_page('2') || is_page('8')) : ?>
and then at the end <?php endif; ?>
This is of course not variable and only applies for:
ignorant-test.siterubix.com
Grtz,
Bert
You can check if your theme allows you to change to a full page template: Change The Look of Your Pages With Page Templates If not, that's part of the downside of using free themes - they have fewer options.
You could also hire someone to code it, but make sure they add a child theme if you aren't already using one. Otherwise, when you update, all changes/code will be lost.
Found it, just line with an If statement and it is done.
And you can put that in the file you want to show or not.
For example: only in side-bar.php or also in footer.php.
Code is (beginning of PHP file) <?php if ( is_page('2') || is_page('8')) : ?>
and then at the end <?php endif; ?>
This is of course not variable and only applies for:
ignorant-test.siterubix.com
Grtz,
Bert
Thanks Bert
Do I need to delete anything? And where exactly in the code do I need to place this?
Simon
No, you first have to say what you want to do with your header and footer? Cause, I prefer to check it on my test site first...
I will create the exact code for your site, but when you add a page, the code always needs to be adapted, by adding that page, you will understand what I mean, when you have the code...
But I would leave as is and only change the show/not show of the sidebar....
Grtz,
Bert
Hello Simon,
Sorry, I forgot a little bit about you and this info today.
There was always something else ongoing...
But here I am with your code (it is overwhelming how much it is, I know.... :-) ):
First you go in your dashboard to appearance and then you select editor.
In the next screen at the right side you select sidebar.php almost at the end below, I think the 2nd last PHP file (you will see).
In the content screen you add the first line just under "*/ enter ?>" and the second line at the end just under the line <!-- #secondary .widget-area.
<?php if ( is_page('I Love Bicycle Touring') || is_page('Best Touring Bicycles')) || is_page('About Simon')) || is_page('Privacy Policy')) : ?>
<?php endif; ?>
Then you click on "update file" below the content screen...
---------------------------------------------------------------
This line you can re-use when you add a new page where the sidebar must be shown, you copy everything between the " ", so also spaces, very important... and you paste this exactly before the double point from the first line above, you change 'new page' to the real name of the page and you click on "update file" below the content screen...
"|| is_page('another name')) "
---------------------------------------------------------------
I added 2 print screens so everything is easier to implement...
When you have a problem with implementation, don't hesitate to contact me!
Grtz,
Bert
PS: Download the print screens then they are viewable....
Hello,
Actually what you ask is not easy, you can definitely say: it is very difficult...
So, you have changed your front page to a static page and the post page you have linked to "Blog" in the menu & probably also a page.
Is that correct?
Also, I want to suggest: Only remove sidebars and not the header (footer something to think about, but starting with the sidebars)
Because when you remove the header the visitor cannot navigate anymore to get away from the blog...
I have put your theme on my test site http://ignorant-test.siterubix.com/
Grtz,
Bert
I think you need to add 'read more' after first paragraph in each of your posts, this will make a few of them visible on the screen. But as I said this is only a few.
I do no think it is trivial to remove headers.
Sidebar will disappear if you choose single column for all your posts. But I do not think this is a good option. Too wide texts is not good, studies show that optimal width for readers is only around 10 words, like in the text of this reply.
I also think that the result of removing the sidebar will not be what he expects....
And with not trivial you mean: it is not a good idea to remove the header?
Many themes have a full-page template that you can select for your front page or any other page. If your theme doesn't provide this, you have a couple of options. The first is to choose a theme that does have a full-page template. The second is to find a full-page template that you can load into your theme. This is a much more difficult task as you first have to identify a full-page template and then identify how you would add that to your theme. (Usually done by adding a page template PHP file)
See more comments
Hi folks
I'm using the Mistylake theme, but it's very basic and doesn't include social media links.
How do I add these links f they're not ncluded in the theme.
hi, some theme have social media buttons... your theme doesn't have just installed the plugin.
In your dashboard click PLUGIN ICON-ADD NEW, then just search wp-socializer, and activate to your site.
Hi, I use an app for this. There are a good number of apps within WP - if you do a search, find one which is compatible with your theme.
I use Super Socializer and this is how it looks on my website.
http://trueaffiliatewealth.com
Hope this helps
Victoria
How do I add social media buttons to my site?
Hi folks
I'm using the Mistylake theme, but it's very basic and doesn't include social media links.
How do I add these links f they're not ncluded in the theme.
hi, some theme have social media buttons... your theme doesn't have just installed the plugin.
In your dashboard click PLUGIN ICON-ADD NEW, then just search wp-socializer, and activate to your site.
Hi, I use an app for this. There are a good number of apps within WP - if you do a search, find one which is compatible with your theme.
I use Super Socializer and this is how it looks on my website.
http://trueaffiliatewealth.com
Hope this helps
Victoria
Hi all. Does anyone have any info regarding keyword tools? Jaaxy is very good, but it's rather expensive. I'm looking for a cheaper option. Thanks in advance.
Dont get hung up on numbers. study your competition pg 1 google. one by one.The best keyword tool.if you understand.
Keyword Finder. keyword reveal. Google correlate.ubersuggesr.longtailpro.quora.yahoo best answers. ask.com.Amazon.com.wikipedia. freebase.
Lastly. what will you type to find in Google?
All d best.
The WA keyword tool is free, and here: https://my.wealthyaffiliate.com/kw_research
Training ==> Finding The Tool
Is their a cheaper alternative to jaaxy?
Hi all. Does anyone have any info regarding keyword tools? Jaaxy is very good, but it's rather expensive. I'm looking for a cheaper option. Thanks in advance.
Dont get hung up on numbers. study your competition pg 1 google. one by one.The best keyword tool.if you understand.
Keyword Finder. keyword reveal. Google correlate.ubersuggesr.longtailpro.quora.yahoo best answers. ask.com.Amazon.com.wikipedia. freebase.
Lastly. what will you type to find in Google?
All d best.
The WA keyword tool is free, and here: https://my.wealthyaffiliate.com/kw_research
Training ==> Finding The Tool
Hello Theislandman,
Can you please go to ignorant-test.siterubix.com to check if it is that what you want?
For now I have only disabled the sidebar for the Blog page...
And what do you want to do with the footer and the header?
But when you remove the header, the navigation buttons are gone...
Grtz,
Bert
Hi Ignorant. Thanks for that. How did you do it? And what is your test site? I'm curious as to how you lost the sidebar on the blog page!
Cheers
Simon
I'm not bothered about the footer or header. I'll be keeping them. Thanks
Hello Simon,
Your Welcome.... :-)
The test site is in my answer I have send to you...
ignorant-test.siterubix.com
And what do you want to do with the footer and the header?
But when you remove the header, the navigation buttons are gone...
How I did it:
in side-bar.php
Code is (beginning of PHP file) <?php if ( is_page('2') || is_page('8')) : ?>
and then at the end <?php endif; ?>
This is of course not variable and only applies for:
ignorant-test.siterubix.com
Grtz,
Bert
Where you able to implement it and did it work?