vladbrasoveanu
Forum Replies Created
-
Forum: Plugins
In reply to: [Page scroll to id] Remove id from existing tabHi, fortunately I have checked the tabs’ js/main.js code file and found out that I needed to change the following.
replace line 616:
event: 'change',
with:
event: 'click',
and lines 745-754:$(".tabs .ui-tabs-nav a").on("click", function(){ if($(this).attr("href").substr(0,4)!="http") $.bbq.pushState($(this).attr("href")); else window.location.href = $(this).attr("href"); });with:
$(".tabs .ui-tabs-nav a").on("click", function(){ if($(this).attr("href").substr(0,4)!="http") { //$.bbq.pushState($(this).attr("href")); } else window.location.href = $(this).attr("href"); });This is something specifically for the MediCenter theme, but I will put it here, maybe it helps someone else.
Anyway, thank you for your time and help.
Forum: Plugins
In reply to: [Page scroll to id] Remove id from existing tabThanks for the time, I’ll try to make the site live in a few days and then I’ll be able to give you the login credentials.
Forum: Plugins
In reply to: [Page scroll to id] Remove id from existing tabSo, my site has multiple pages with the same layout(for presenting different products). The page has 1 tab on it with 2 pills. When I click the first pill, it takes me to it, just as an anchor hash link. The second one, takes me top of the page.
The most important reason I want to remove the hash id from the URL is that whenever I click on the tabs 5 times, for example, I have to click the back button 6 times to go to the previous page. It is very annoying that the browser counts the pills as different URLs thus making me click the back button more than 1 time.
I have also noticed that by activating “Prevent other scripts from handling plugin’s links” even though the hash is no longer present in the URL of the address bar, when you check the down-left corner after hovering the mouse on the pills, I can still see the hash id on the URL.
What has to be done further? Or you believe it is a matter of theme functionality – poorly developed tabs?Forum: Plugins
In reply to: [Page scroll to id] Remove id from existing tabOkay, so the theme that I’m using is called MediCenter(https://quanticalabs.com/home/portfolio/medicenter-wordpress-theme/) and it came packed with Wpbakery builder plugin.
Forum: Plugins
In reply to: [Page scroll to id] Remove id from existing tabHello again,
So I made a bit of progress by activating “Prevent other scripts from handling plugin’s links”. It now removed the hash from the URL, but on the other hand, the second tab no longer works and takes me top of the page.
Unfortunately, I can’t give you the site details, as I’m working on a local site.
About the tabs script, I don’t know how to get it. It is included in the theme files.
Lastly, the tabs is not a separate plugin, it is an element from the WPBakery plugin.Forum: Fixing WordPress
In reply to: CPanel PHP update ruined my siteI tried but it’s still nothing. The homepage is the only one that is working. All the others are that same starting page.
Although it is a little step forward because I set it on inherit mode. It set the PHP version to 7.0. Now I can also edit the homepage with Visual Composer. Before it was only a loading screen.- This reply was modified 5 years, 2 months ago by vladbrasoveanu.
- This reply was modified 5 years, 2 months ago by vladbrasoveanu.