I'm working on a project that is built on Joomla 1.5. I've been trying to set the title of the pages for different views and everything works fine except for that title of the document is set to as the project name once the document is loaded completely. However, I can clearly see the title set by me as the document title while it is loading. Also, when I checked in firebug, I found that some script is overwriting document title over and over again on a span of 2 sec. I checked almost all the settings pages to disable this but couldn't find any such option; I'm not a Joomla expert. Also, I don't want to delete that script manually, so if someone has any idea about how to fix it, I'd really appreciate it.
PS: I searched for solution before posting this so please, no -1.
So apparently, there was a script in a file chat.js on our server that was updating the page title every 2 seconds. So lame that I didn't realize it could be such a minor mistake. I wasn't able to find it as it was being included only in some views. Anyways, sorry for wasting your times. If anyone of you've faced a similar issue, please do check your script in Javascript debugger.
Related
I've been bumping my head around this for quite a while now. I've added some code to the comments.php function which is loaded on some pages. That code, however, does not work on ALL pages in the incognito browser, but strangely enough, it works on some of them.
When I'm using admin users, it pretty much works on all of them.
What can the problem with this even be?? I've tried flushing cache, disabling it, nothing helps. I'm using Elementor as well if that helps.
If anyone has any idea, I would highly appreciate it, any help is welcome.
UPDATE:
Wordpress sorcery has no bounds. Okay, when I find that certain "post" where I want to see the changes and just click on "Update" button with NO REAL UPDATES DONE in that file, it works and shows up new code from comments.php. But come on, I have tons of those posts, do I really need to "Update" each of them? Is there a smarter way to do this?
Context: I have a WordPress site on Bluehost with a theme by Thrive. I set the 'homepage' to a Landing Page that I'm dubbing id 51 (post id is 51). We launched the website with a new Landing Page (id 399). This page is completely fresh, new title, new content, new everything. I changed the "Front Page" or "Homepage" in the General > Reading to this new LP. Everything seemed to be flawless. I deleted the old page (moved it to trash, but never emptied it). This same day, we noticed that when we type in our URL on this nice MacPro on Chrome, everything is fine; however, when browsing to the same URL on, say, Safari, it somehow pulls up that old content--deleted content.
I'm clearly not knowledgeable, but I can get into and investigate things:
So far, I've tried:
clearing individual browser caches from a visitor's perspective. Unsuccessful.
Purging All from the cache within WordPress
This appeared to work for maybe 8-12 hours before we discovered the browser went BACK to the BAD/OLD content. I will say, by Default, I believe Bluehost has that cache level set to 1, maybe? Assets only? 2 months ago, I set it to 3 with performance in mind while building out the website. Could be storing there? ...but I PURGE it, and it returns later... That doesn't compute in my computer. Now, I've set it to 0 and the issue is currently gone, but I'm not gonna hold my breath.
I restored the old page, id 51, from the trash, and tried renaming the slug hoping it wouldn't find it, haha. Then, I even imported the correct, modified theme template from post 399 to post 51 hoping I could just treat the wound rather than solve it. (Thrive has an "architect" feature for WYSIWYG building so I kinda cut and paste.) This appeared to work temporarily as well.
My next step was to dive into the database. I've gone through the entire thing, even unrelated website databases on my host through phpmyadmin. I can't find a single reference to the old title, slug, or its content. post id 51 has my updated information as well. In fact, it's showing all of the corrected content from when I overwrote it.
All that said, The page is totally fine, and ALWAYS fine on Chrome, but Safari browsers seem to work for a while, then revert to this pesky page. I don't know enough about how a page loads to trace 1) why it loads incorrectly on a particular browser, and 2) where it would even pull outdated, DELETED content/data from to begin with...
I just feel like I broke something, and currently, am praying to the WordPress gods that 0 caching will permanently solve this ghost-site issue...
I'll update this in a few days if the problem stays away, or sooner if it persists. Hopefully, someone can point me in the right direction. Sorry for the lengthy novel. Trying to be detailed as this is my first post and I wanna be as detailed as possible as I'm just not knowledgeable enough... Thank you.
Every time I open my wordpress site, it has automatically generate pop ads of tradeadexchange.com . I have tried many possible solutions but none of them worked.
In head tag, this script is automatically injected.
Below calls are created. In chrome console>Network>
How should I remove this script tag in my code in wordpress. Site link -http://www.radhefurnishing.com
I think this is not an issue of wordpress there may be some extension in browser will cause this issue first of all try to check in different browser and different machine.
If that is still there then let me know i will help you using some coding stuff.
I was making some changes on the header.php file of my wordpress site, related to the flag icons displayed on the top of the webpage.
After that, I loaded back the page and suddenly it all appeared messed. I undoed all the changes I've previosly done, saved and I don't know why but the page is still messed.
Just so you can see how it should be and how it's actually looking like.
I'm sort of desperate because of it, so any clue in what could be causing this is gonna be extremely helpful.
Thanks!
Sometimes with wordpress it needs a bit of time until it's changing. Also try pressing F5 to force refresh, or clear your cache.
Also, you might forgot to add some styles or other file.
So, there's a code that I've recycled multiple times on sites as it's well liked by my company. I am trying to update and recreate my portfolio due to my old hosting company wiping my entire file system. My fault for not having a back up, but lesson learned. Makattak.com Using this code here, I am unable to get anything to display.
A site I've used it on is here: Bowhunting.com
Here is a photo of my repeater field in ACF. I followed the same structure but still cannot get anything to display.
Can anyone offer some suggestions as far as what I am doing wrong? I've tried cutting things out, I've tried rebuilding from scratch, I just can't seem to get the loop to happen.
I am using the latest version of WordPress, and the latest purchased copy of ACF: Advanced.
I know this my sounds stupid but, did you assign the template to a page and select the page on the wordpress Reading settings?
Thanks to both Dre and Raul Cruz, I was able to find the issue.
I didn't set the Reading Settings to Home Page, static.
I revamped my code to change the_sub_field('field'); to
get_sub_field('field')
a change I made while debugging but didn't revert back
There was an issue with my syntax, and when writing the code back in, line by line, testing after each line, I was able to get what I needed back in working order
Thank you both for the help.