Home › Forums › Weaver Xtreme Theme › Is it possible to replace header image depending on post category?
- This topic has 50 replies, 3 voices, and was last updated 4 years ago by
Weaver.
-
AuthorPosts
-
January 23, 2017 at 21:41 UTC - Views: 2 #33060
Rinaldo
ParticipantOn a real mobile phone???
On a small browser window it works.
On that site I replaced the Cloudflaire nameservers yesterday, but cant deactivate the plugins.January 23, 2017 at 22:58 UTC - Views: 1 #33061Weaver
KeymasterIf you need to deactivate a plugin outside the WP Admin, use your host account file browser and simply delete the plugin from the /wp-content/plugins/the-plugin-directory
January 23, 2017 at 23:30 UTC - Views: 96 #33062scrambler
ModeratorOK, Regarding the fact that the menu does not transition to mobile on a phone in the page below
http://irinaafrica.tours/private-guided-safaris/I went on a tablet in landscape mode, and at first the mobile menu with the hamburger was not there (only the regular desktop.)
then I switched between landscape and portrait a few times ( which switches between desktop and mobile) and then the mobile menu appeared.
On a phone which is always in mobile mode, you are right the menu never switches to the mobile menu, it stays in the desktop stage. The loading of the page appears to take a long time to complete.
My guess is something is preventing the script to complete causing the mobile menu to not be generated.
if I look at the console window on desktop I see the following errors
HTML1300: Navigation occurred.
private-guided-safaris%c100 font: 1em sans-serif; color: white; background-color: #079c2d;padding:2px; Google PageSpeed Score optimized using https://goo.gl/C1gw96Test your website: https://pagespeed.pro/testsprivate-guided-safaris (11,13507)
HTML1423: Malformed start tag. Attributes should be separated by whitespace.
private-guided-safaris (423,84)
HTML1409: Invalid attribute name character. Attribute names should not contain (“),(‘),(<), or (=).
private-guided-safaris (423,84)
HTML1423: Malformed start tag. Attributes should be separated by whitespace.
private-guided-safaris (432,105)
HTML1409: Invalid attribute name character. Attribute names should not contain (“),(‘),(<), or (=).
private-guided-safaris (432,105)
HTML1423: Malformed start tag. Attributes should be separated by whitespace.
private-guided-safaris (439,96)
SCRIPT5007: Unable to get property ‘fitVids’ of undefined or null reference
private-guided-safaris (1502,820)
JQMIGRATE: Migrate is installed, version 1.4.1
jquery-migrate.min.js (2,495)
CSS3120: No fonts available for @font-face rule
private-guided-safaris (32,426)
perf_trace {“name”: “e2e”, “parent”: “PageEvents.BIGPIPE_ONLOAD”}: 6,092.098ms
CSS3111: @font-face encountered unknown error.
Genericons.eot
CSS3120: No fonts available for @font-face rule
fonts.min.css (0,40)
CSS3111: @font-face encountered unknown error.
Genericons.eot
CSS3120: No fonts available for @font-face rule
private-guided-safaris (32,279)
HTTP404: NOT FOUND – The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET – http://irinaafrica.tours/wp-content/themes/weaver-xtreme/js/theme.jsThe one that worries me most (but I am not the expert here) is the last one about the theme.js
@weaver would need to comment if he has any clue on what could be causing the Script to not complete if indeed that is the issue.January 23, 2017 at 23:35 UTC - Views: 1 #33063scrambler
Moderator@rinaldo, have you tried to deactivate ALL non weaver plugins, remove all custom scripts, Clear ALL the caches (plugin, cloudflare..) and test in that configuration?
January 24, 2017 at 00:18 UTC - Views: 5 #33064Weaver
KeymasterThere is no such file in the theme directory as /weaver-xtreme/js/theme.js
Please disable the wp-deferred-javascripts plugin. I’d bet on it being a problem causer.
The Weaver menus scripts must NOT be deferred!
January 24, 2017 at 21:23 UTC - Views: 9 #33065Rinaldo
Participant@weaver This my file. You actually gave me some tips re. this file.
The script lets thumb nails pop up on hover in the woo single product image. The file was missing, therefore the error message, but this feature had been working for 2 weeks or so.Thank you @scrambler for bringing this up. One more problem fixed.
The pages where the phone menu is not behaving as it should have absolutely identical set up to the ones that work fine and are in the same menu.
BTW I installed a plugin Simple SSL Fix, now all sites are accepted as secure by Google.
January 24, 2017 at 22:03 UTC - Views: 13 #33066scrambler
ModeratorI hope you are not adding a custom script file inside of the weaver-Xtreme directory…
This is a big No No as it will be lost in the next update…
Custom files need to be in a personal directory, or inside a child theme NEVER inside the Theme or plugin directories, as these get replaced in every update“The pages where the phone menu is not behaving as it should have absolutely identical set up to the ones that work fine and are in the same menu.”
Is that a new issue?? If so you need to provide details and links…January 25, 2017 at 05:37 UTC - Views: 9 #33067Rinaldo
Participant1- Thanks, that explains why the file disappeared.
2- No, its not a new issue. Its still this issue:
On a phone which is always in mobile mode, you are right the menu never
switches to the mobile menu, it stays in the desktop stage. The loading
of the page appears to take a long time to complete.January 25, 2017 at 05:58 UTC - Views: 1 #33068scrambler
ModeratorHave you removed the “wp-deferred-javascripts plugin” and any other minifier or javascript optimizer?
January 25, 2017 at 14:51 UTC - Views: 16 #33069Rinaldo
ParticipantYes, “wp-deferred-javascripts plugin” deactivated, all optimizers disabled
On a phone which is always in mobile mode, you are right the menu never
switches to the mobile menu, it stays in the desktop stage. The loading
of the page appears to take a long time to complete.
The reason that it took longer to load was probably the AMP redirect. I disabled it, but the issue remains the same.
This one works:
https://irinaafrica.tours/fly-in-safaris/This one works not:
https://irinaafrica.tours/private-guided-safaris/January 25, 2017 at 15:05 UTC - Views: 1 #33070January 25, 2017 at 15:49 UTC - Views: 3 #33071Rinaldo
ParticipantCompressing /assets/css/fonts/genericons/Genericons.svg could save 52,6 KB (68 %)
Is this file really necessary? 🙂January 25, 2017 at 15:51 UTC - Views: 14 #33072Rinaldo
ParticipantOK, @weaver was right, the culprit is the deferred js
Thanks for your help!Compressing /assets/css/fonts/genericons/Genericons.svg could save 52,6 KB (68 %)
Is this file really necessary?January 25, 2017 at 17:33 UTC #33073scrambler
ModeratorNext time have a little more faith in what we are telling you, it will save all of us a lot of time ….
January 25, 2017 at 21:13 UTC - Views: 17 #33074Rinaldo
ParticipantNo, of course I have faith and do what you or Bruce says.
The first issue with the menus is not solved (on real phones):
https://irinaafrica.tours/travels/cape-town-cape-peninsula-day-tour/ It is rather the other way, you did not believe me, when I said it is not the deferred js plugin.
January 25, 2017 at 21:43 UTC - Views: 3 #33075scrambler
ModeratorNow you are not making any sense.
7:15 AM you say
“OK, @weaver was right, the culprit is the deferred js”
1:13PM you say
“It is rather the other way, you did not believe me, when I said it is not the deferred js plugin.”
So is it or is it not the deferred js plugin ???
have you removed the plugin?
Have you removed all minifier, compresser, optimizer? -
AuthorPosts
- You must be logged in to reply to this topic.