Home › Toolset Professional Support › [Resolved] Unexpected DIVs added
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
This topic contains 16 replies, has 2 voices.
Last updated by kelvinL-2 3 years, 5 months ago.
Assisted by: Minesh.
Dear Sir/Madam,
I have a page with Views, refer to the screenshot, I don't understand how the additional DIVs added, below is the content of Views, I manually add the class xyz and abc inside my code but you should able to find the unexpected additional DIVs are added between the div with class xzy and abc.
How can I remove them?
[wpv-items-found] <div class="table-responsive-sm xyz"> <table class="table table-striped abc"> <thead class="thead-dark"> <th>報名編號</th> <th>比賽名稱</th> <th>形式</th> <th>狀態/操作</th> </thead> <tbody> <!-- wpv-loop-start --> <div class="container wpv-loop js-wpv-loop"> <wpv-loop> <div class="row "> <div class="col-md-12">[wpv-post-body view_template="loop-item-in-all-applications"]</div> </div> </wpv-loop> </div> <!-- wpv-loop-end --> </tbody> </table> [/wpv-items-found]
Hello. Thank you for contacting the Toolset support.
I will require problem URL and admin access details to check whats going wrong with your setup.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Dear Minesh,
I try turning on the debug and find some string code inside the View output there were some scripts added and toolsetCommonEs.styleToHead() called
<div class="tces-js-style-encoded" style="display:none;">LnRiLWdyaWQsLnRiLWdyaWQ+LmJsb2NrLWVkaXRvci1pbm5lci1ibG9ja3M+LmJsb2NrLWVkaXR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1bW4udGItZ3JpZC1hbGlnbi1jZW50ZXJ7d2lkdGg6MTAwJTtkaXNwbGF5OmZsZXg7YWxpZ24tY29udGVudDpjZW50ZXJ9LnRiLWdyaWQtY29sdW1uLnRiLWdyaWQtYWxpZ24tYm90dG9te3dpZHRoOjEwMCU7ZGlzcGxheTpmbGV4O2FsaWduLWNvbnRlbnQ6ZmxleC1lbmR9IH0gQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA1OTlweCkgeyAudGItZ3JpZCwudGItZ3JpZD4uYmxvY2stZWRpdG9yLWlubmVyLWJsb2Nrcz4uYmxvY2stZWRpdG9yLWJsb2NrLWxpc3RfX2xheW91dHtkaXNwbGF5OmdyaWQ7Z3JpZC1yb3ctZ2FwOjI1cHg7Z3JpZC1jb2x1bW4tZ2FwOjI1cHh9LnRiLWdyaWQtaXRlbXtiYWNrZ3JvdW5kOiNkMzhhMDM7cGFkZGluZzozMHB4fS50Yi1ncmlkLWNvbHVtbntmbGV4LXdyYXA6d3JhcH0udGItZ3JpZC1jb2x1bW4+Knt3aWR0aDoxMDAlfS50Yi1ncmlkLWNvbHVtbi50Yi1ncmlkLWFsaWduLXRvcHt3aWR0aDoxMDAlO2Rpc3BsYXk6ZmxleDthbGlnbi1jb250ZW50OmZsZXgtc3RhcnR9LnRiLWdyaWQtY29sdW1uLnRiLWdyaWQtYWxpZ24tY2VudGVye3dpZHRoOjEwMCU7ZGlzcGxheTpmbGV4O2FsaWduLWNvbnRlbnQ6Y2VudGVyfS50Yi1ncmlkLWNvbHVtbi50Yi1ncmlkLWFsaWduLWJvdHRvbXt3aWR0aDoxMDAlO2Rpc3BsYXk6ZmxleDthbGlnbi1jb250ZW50OmZsZXgtZW5kfSB9IA==</div><script class="tces-js-style-to-head">toolsetCommonEs.styleToHead()</script>
Was my site be hacked?
Using the login details you shared I still can not able to access the wp-admin. Can you please send me working admin access details.
I have set the next reply to private which means only you and I have access to it.
Dear Minesh,
I can login with provided credential information, please note the admin login is vw-login but not wp-login
Using the access details you shared I can login and once I login it redirect me to the following page:
=> hidden link
I will require to access the backend admin, Can you please tell me how can I access the backend admin panel?
hidden link
I dont think the user you shared "toolset" is having the admin rights granted as when I try to access the "wp-admin" - it shows me the message "Not available.".
the "toolset" account is admin right.
Please note you should login from hidden link and then visit hidden link
That is what I'm doing.
Please note you should login from hidden link
==>
I successfully loggedin
But when I try to visit admin: hidden link
It shows me not available message and I could not able to access the admin section.
Dear Minesh,
I don't know why sometimes the https not work, may be you can try with the s
I'm already using the https
I really don't know what's happened, please try either https or http
I've added the following JS code to your following view's JS Editor:
=> hidden link
jQuery(document).ready(function($){ $('.col-md-12').find('br').remove(); });
I'm not sure what view generates the blank row as you are using nested views and number of conditional statements. I how the workaround I shared would help to resolve your issue.
Dear Minesh,
Many thanks for your reply, why there is <br> insert by default?