About MozoTyce
Rank 1630
518 followers Joined May 2015
I've been self employed for a number of years, bit of a jack of all trades. I have an electronics/computer background and am ex-services. Currently 55

Posts

3

Questions

2

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training
asked in
Everything Wordpress
Updated

I have comment field on most of my pages but all comments are attributed to my Home page even when they explicitly refer to a blog post on another page. Anyone know how to chang

Hello, go to your Posts. All Posts. If you click on each Post and Edit, go to the top white section (Screen Options). Checkmark next to Comments and Save.
If you don't want them on your Home Page, you will de-select the checkmark next to Comments.

Hi, I thought those options were only for the editor, i was already getting the comments filled in on the post it's just that they appear on the home page after i approve them ?

Yes, you can change where the Comments appear.

See more comments

Does anyone know why all comments go to my home ?

Does anyone know why all comments go to my home ?

asked in
Everything Wordpress
Updated

I have comment field on most of my pages but all comments are attributed to my Home page even when they explicitly refer to a blog post on another page. Anyone know how to chang

Hello, go to your Posts. All Posts. If you click on each Post and Edit, go to the top white section (Screen Options). Checkmark next to Comments and Save.
If you don't want them on your Home Page, you will de-select the checkmark next to Comments.

Hi, I thought those options were only for the editor, i was already getting the comments filled in on the post it's just that they appear on the home page after i approve them ?

Yes, you can change where the Comments appear.

See more comments

asked in
Everything Wordpress
Updated

I just noticed that for some reason my page title is different on several pages of my website.

Ok i have fixed the problem but...
I had to edit the header.php file and clearly this is subject to being overwritten on the next update. Not sure how to stop it so the better solution is to create a graphic logo.

Hiya TycMozo;

The problem is in your theme I think. Even though your pages are all "default templates" It is still assigning a slightly different template to you home page and your blog page. The home page and the blog page have your title as an h1 but the other pages show the title as just an a tag and not an h1. So they are following different style rules. The main difference is that one is bold and the other is not. I am not an expert, but I was able to get all of them bold by using this code:

.site-title a {
font-weight: bold;
}

This would need to be put in your CSS folder - preferrably a child theme. If you need help with that let me know. Also, I know a few plug-ins that will let you put in css code too without doing a child theme as an alternative. Hope this helps in some way :)

Hi DJ, Good to know we're homing in on the issue.

I wouldn't suggest messing with CSS just yet. But the problem has arisen because the HOME page is a blogroll, and the "Review" page has been copied from the Home Page. None of the other pages have body class=blog.

The problem was caused without access to CSS, so should be solvable without it.

Ok thank you :)
Following Chris' advise i can see the H1 tag, i'll take another look now i know explicitly what i'm looking for else i'll go your .css route.
Thanks again all for your help - what a strange problem !

Tread carefully with the CSS route. If and when your theme decides you need to "Update" you will lose CSS edits. The correct way to mess with CSS is via the "Child Theme" route.

Actually the review page was the last one i created and was using 'add new'. Unless in some way WP used a different template i cannot explain it. I recently changed my front page to a static page and assigned the attributes for the review page to be a blog at the same time ??

Yeah, I can see myself doing stuff like that. I think it got its knickers in a twist.

It still comes down to the theme having differences in the masthead, and that's careless programming on their part.

Hiya - like Chris said - make sure you put the css in a child theme though so it doesnt mess with the theme itself. Its the safest way to do it :)

@Chris Hiya Chris! I hear ya :) Keeping the css in a child theme though or a plug-in is the easier of the fixes (probably from my perspective because I do it alot) than say, going into the templates and messing with the php, which is where I believe the real problem lies. I suspect they have separate templates for home and blog as most themes do and they just didn't do a good job in the templates keeping everything consistent. It happens.

Ok i have narrowed down the problem.
In Appearance/Editor on the right of the window choose "Header (header.php)" follow it down to <header id="masthead".....

<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>

If it's considered a home page or for a blog, a front page it will place <h1> around the title.
It seems only way around it is to create a site_logo image which it will use instead.
I'll try it !!

It's been a blast. I'd forgotten how much I LOVE code. Great to meet some other freaks.

As for the coding decision, I still think they've got it wrong. Drop them a line and ask them what their thinking was. Betcha they do an update.

hehe i'm sure they have a reason. Problem is probs caused by my reluctance to go down the blog route ! I'll probably crate a .png with a transparent background eventually but for now it'll have to do.

Go get one of these http://cooltext.com/ like I did, and parked it over the top of the textual masthead, see http://fattenyourpurse.com/

Your site is not loading. Have you moved it?

nope, loading ok for me ? http://www.homeaquariumhelp.com

That URL loads OK, but your original post does not have the "www." Normally you should have them setup so that they both work in sync.

You have 7 pages. 5 display one way, 2 display differently. I'll ferret for reasons.

thank you, i also notice that the pages that display correctly don't have the page title first. By this i mean, on the 'Home' page the first word on the page is not Home. On the 'Getting Started' page the first word is Getting Started and in the page editor i cannot remove this.
This seems to indicate that the pages are in some way different but i cannot see how.

ps what do i do to 'sych' the url ?

Answer to sync problem is embarrassing. I've done it for my sites, but I have no idea how I did it. You might need to post it as a question. Sorry.

Try this The problem with your iffy pages is that you have managed, somehow, to insert a control code into the Title line. The code is ""&# 8211;" but I don't know what it is, exactly.

The solution is to rewrite the Title line on the 2 affected pages ie Home and Reviews.

err ok, i don't know either !
The two pages are correct, it's the others that are wrong so i guess i need to insert that code on those. Where did you find this code ?

ps: thank you, help is appreciated

OK, so it's the 2 that are correct and the 5 that are wrong, yes? I don't know which are which, I just know they are different.

If you want to see the code, open the page in a browser window then right click anywhere in the page's white space and select "view page source". I'll pre-warn you, if you don't know code, it'll scare you rigid. Don't worry about damaging stuff - you can only look, you can't touch.

Anyway, I've discovered that the piece of code I gave you is actually the code of a hyphen. Why some pages have an actual hyphen, but others have the code for the hyphen, I don't understand.

But I have found something much more likely to be the real problem.

It's the masthead. The 2 pages have it as H1. The 5 pages don't. But that makes no sense because the masthead cannot be different on different pages.

Is it possible you created one as a blog and changed it to a page? Some of the pages use "body class=blog" and others use "body class=page".

It's ok i'm familiar with coding.
To the best of my knowledge the only blog page is the reviews. All the others were created as pages.
I can't see anything in Wordpress that allows you to change the masthead other than the .css edit and as you say that should apply to all pages equally.
I must've clicked on every conceivable thing that could possible make a difference and i can't find anything !

perhaps it has something to do with the font styling? go to the pages that are different and look at the html source

yep did that, it's the same on all pages :(

I'll chime in here to Mozo. Keep in mind that I don't have any formal training, and my 'solutions' consist of thrashing around, alternately screwing things up and fixing them until I have the result I was after. The good news is that I haven't broken the Internet... yet!

I go to the element in question and right click on it, then select 'Inspect Element'. Once I'm sure the inspection panel is focused on the bit that I'm playing with, I look at the CSS code that affects that element. I may play with the elements in the CSS panel a bit to see how to get the results I want - but doing so is only temporary, and disappears as soon as I exit the panel.

Then I use a plugin called Simple Custom CSS, which lets me make modifications to the CSS for the site - without having to muck about with child themes (or losing my custom CSS if the theme updates).

That's my story, and I'm stuck to it!

Dennis

lol Dennis this is my exact story! some people merely adopt thrashing about to find solutions. I was born to it! haha

See more comments

Why is my title different on several of my pages ?

Why is my title different on several of my pages ?

asked in
Everything Wordpress
Updated

I just noticed that for some reason my page title is different on several pages of my website.

Ok i have fixed the problem but...
I had to edit the header.php file and clearly this is subject to being overwritten on the next update. Not sure how to stop it so the better solution is to create a graphic logo.

Hiya TycMozo;

The problem is in your theme I think. Even though your pages are all "default templates" It is still assigning a slightly different template to you home page and your blog page. The home page and the blog page have your title as an h1 but the other pages show the title as just an a tag and not an h1. So they are following different style rules. The main difference is that one is bold and the other is not. I am not an expert, but I was able to get all of them bold by using this code:

.site-title a {
font-weight: bold;
}

This would need to be put in your CSS folder - preferrably a child theme. If you need help with that let me know. Also, I know a few plug-ins that will let you put in css code too without doing a child theme as an alternative. Hope this helps in some way :)

Hi DJ, Good to know we're homing in on the issue.

I wouldn't suggest messing with CSS just yet. But the problem has arisen because the HOME page is a blogroll, and the "Review" page has been copied from the Home Page. None of the other pages have body class=blog.

The problem was caused without access to CSS, so should be solvable without it.

Ok thank you :)
Following Chris' advise i can see the H1 tag, i'll take another look now i know explicitly what i'm looking for else i'll go your .css route.
Thanks again all for your help - what a strange problem !

Tread carefully with the CSS route. If and when your theme decides you need to "Update" you will lose CSS edits. The correct way to mess with CSS is via the "Child Theme" route.

Actually the review page was the last one i created and was using 'add new'. Unless in some way WP used a different template i cannot explain it. I recently changed my front page to a static page and assigned the attributes for the review page to be a blog at the same time ??

Yeah, I can see myself doing stuff like that. I think it got its knickers in a twist.

It still comes down to the theme having differences in the masthead, and that's careless programming on their part.

Hiya - like Chris said - make sure you put the css in a child theme though so it doesnt mess with the theme itself. Its the safest way to do it :)

@Chris Hiya Chris! I hear ya :) Keeping the css in a child theme though or a plug-in is the easier of the fixes (probably from my perspective because I do it alot) than say, going into the templates and messing with the php, which is where I believe the real problem lies. I suspect they have separate templates for home and blog as most themes do and they just didn't do a good job in the templates keeping everything consistent. It happens.

Ok i have narrowed down the problem.
In Appearance/Editor on the right of the window choose "Header (header.php)" follow it down to <header id="masthead".....

<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>

If it's considered a home page or for a blog, a front page it will place <h1> around the title.
It seems only way around it is to create a site_logo image which it will use instead.
I'll try it !!

It's been a blast. I'd forgotten how much I LOVE code. Great to meet some other freaks.

As for the coding decision, I still think they've got it wrong. Drop them a line and ask them what their thinking was. Betcha they do an update.

hehe i'm sure they have a reason. Problem is probs caused by my reluctance to go down the blog route ! I'll probably crate a .png with a transparent background eventually but for now it'll have to do.

Go get one of these http://cooltext.com/ like I did, and parked it over the top of the textual masthead, see http://fattenyourpurse.com/

Your site is not loading. Have you moved it?

nope, loading ok for me ? http://www.homeaquariumhelp.com

That URL loads OK, but your original post does not have the "www." Normally you should have them setup so that they both work in sync.

You have 7 pages. 5 display one way, 2 display differently. I'll ferret for reasons.

thank you, i also notice that the pages that display correctly don't have the page title first. By this i mean, on the 'Home' page the first word on the page is not Home. On the 'Getting Started' page the first word is Getting Started and in the page editor i cannot remove this.
This seems to indicate that the pages are in some way different but i cannot see how.

ps what do i do to 'sych' the url ?

Answer to sync problem is embarrassing. I've done it for my sites, but I have no idea how I did it. You might need to post it as a question. Sorry.

Try this The problem with your iffy pages is that you have managed, somehow, to insert a control code into the Title line. The code is ""&# 8211;" but I don't know what it is, exactly.

The solution is to rewrite the Title line on the 2 affected pages ie Home and Reviews.

err ok, i don't know either !
The two pages are correct, it's the others that are wrong so i guess i need to insert that code on those. Where did you find this code ?

ps: thank you, help is appreciated

OK, so it's the 2 that are correct and the 5 that are wrong, yes? I don't know which are which, I just know they are different.

If you want to see the code, open the page in a browser window then right click anywhere in the page's white space and select "view page source". I'll pre-warn you, if you don't know code, it'll scare you rigid. Don't worry about damaging stuff - you can only look, you can't touch.

Anyway, I've discovered that the piece of code I gave you is actually the code of a hyphen. Why some pages have an actual hyphen, but others have the code for the hyphen, I don't understand.

But I have found something much more likely to be the real problem.

It's the masthead. The 2 pages have it as H1. The 5 pages don't. But that makes no sense because the masthead cannot be different on different pages.

Is it possible you created one as a blog and changed it to a page? Some of the pages use "body class=blog" and others use "body class=page".

It's ok i'm familiar with coding.
To the best of my knowledge the only blog page is the reviews. All the others were created as pages.
I can't see anything in Wordpress that allows you to change the masthead other than the .css edit and as you say that should apply to all pages equally.
I must've clicked on every conceivable thing that could possible make a difference and i can't find anything !

perhaps it has something to do with the font styling? go to the pages that are different and look at the html source

yep did that, it's the same on all pages :(

I'll chime in here to Mozo. Keep in mind that I don't have any formal training, and my 'solutions' consist of thrashing around, alternately screwing things up and fixing them until I have the result I was after. The good news is that I haven't broken the Internet... yet!

I go to the element in question and right click on it, then select 'Inspect Element'. Once I'm sure the inspection panel is focused on the bit that I'm playing with, I look at the CSS code that affects that element. I may play with the elements in the CSS panel a bit to see how to get the results I want - but doing so is only temporary, and disappears as soon as I exit the panel.

Then I use a plugin called Simple Custom CSS, which lets me make modifications to the CSS for the site - without having to muck about with child themes (or losing my custom CSS if the theme updates).

That's my story, and I'm stuck to it!

Dennis

lol Dennis this is my exact story! some people merely adopt thrashing about to find solutions. I was born to it! haha

See more comments

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training