Forum Replies Created
-
AuthorPosts
-
Nick
ParticipantThe main.js error is nothing to worry about. There’s a bunch of js calls in one file to save embedding lots of js files into the pages (to improve site load time by combining files). It’s just trying to call a jQuery script function, but the script that contains the function isn’t loaded on that page.
The code to change the page title works with the theme on my localhost with default permalinks, so, I’m unsure on how the theme is the source of the issue?
The failed resource – why is an admin file been called when a user, such as yourself, that isn’t an admin visits the site?
Nick
ParticipantIt’s the permalinks settings.
Just tried it on the live site.On default, the page title displays fine. With the permalinks set to ‘Post Name’, the page title disappears.
Nick
ParticipantHi,
Thanks for the links.
Have a had a look through and tried it out on my localhost test site install. Found no problems. The page title appears fine, as it should be. I did find a previous conflict with the All in One SEO Pack, but that was resolved by reverting back to a previous version of that plugin, but it wasn’t related to the page title.
However, the problem only occurs on the live site.
The 2 are the same, running the same versions, although I can only have the default permalinks on there, rather than the ‘seo friendly’ setting that’s on the live site.
Nick
ParticipantAdditionally, and to confuse matters even more, I’ve tried both 2014 default WordPress theme and the theme on my localhost install and they both display “Events for January” as the page title. But, on the live site, the page title doesn’t appear.
Nick
ParticipantNo luck here. It could be to do with how the theme generates the page title, but I’m not convinced as it all seems standard. Especially as the other page titles work on the ‘inner pages’.
The default view is the current month view, but on future months the correct page title is present and correct.
Nick
ParticipantThere was only one link? Which was this: http://pastebin.com/QU2aMwBJ
Which was the code I followed, as it was targeting the
<title>tag, but it didn’t seem to work correctly?Nick
ParticipantHi,
Very useful, thanks, however, it’s the main events/calendar page/view that I need the title for. All the ‘inner views’ (so to speak) like single events page, list view etc.. are all ok and display the relevant page title.
If you go to ‘http://www.midlandkarting.co.uk/events’ and look at the page title, anything before | should display the individual page title like on other pages.
The code you supplied doesn’t seem to fix this, even though it should?
Thanks.
Nick
ParticipantAh I see now, didn’t realise that was possible but this is good enough for me. Thanks 🙂
-
AuthorPosts
