I have a ); showing at the top of all wordpress pages, will show on some admin pages as well - wordpress

on my wordpress site, I have ); in the top left corner of the website, showing on all pages. it will show also on some admin pages, but not all. For instance, after updating a plugin, it will show there under the Update Plugins header.
Any idea as to which file to find this in and where it might be in there?

Disable all plugins and see if that solves the issue. If it does, enable them one at a time until the issue reoccurs. You'll have found the problematic plugin once it does.
Otherwise, the first place I'd turn attention to is your functions.php file in your active theme. You can switch to a different them and see if the problem disappears, to quickly confirm it that's the problem or not.

Related

Images showing in description of woocommerce products instead of normal thumbnail location

Instead of images showing up as thumbnails underneath the main product image, they are getting added to the description section of each product. Here is an example product page: https://vdgmilitaria.com/shop/other-axies-allies/italy/ww2-italian-german-african-campaign-medal/
Any idea what could be causing this?
As a side note it seems like some of the styles on the website are now broken too and things are sitting in weird places such as the screenshot attached.
I've tried inspecting the product pages on my website with the web developer tools, but still can't figure out what is going on here.
This issue is likely caused by changes made to the WooCommerce theme or plugins affecting the product page layout and functionality. To fix it, you can try the following steps:
Disable all plugins temporarily and see if the issue is resolved. If so, re-enable each plugin one by one and check if the issue reappears after each activation.
If disabling plugins doesn't resolve the issue, try switching to a default WordPress theme like Twenty Twenty-One to see if the problem is with the theme.
If the issue still persists, you can try contacting the WooCommerce support team or the theme author for further assistance.
If all else fails, consider hiring a WordPress developer to investigate the issue and make necessary fixes.
Note: Before making any changes, it's always a good idea to backup your website to avoid losing any data.

Wordpress not showing posts (Griddist theme)

I just recently updated my version of wordpress to 5.6.1. Website is www.americano.site
I used to have a set of posts display under "miscelanea/projects" (this is the category name). Now when I access this from the side menu, it doesn't show anything. It seems to connect to the right content, as when you hover the mouse around it shows the posts it is supposed to show, but it is a blank page.
I have very limited knowledge of code but reading through other posts it seems the problem has to do with javascript (main.js file missing). If so, can anybody tell me how to download and upload this to fix this error?
I'm using the Griddist theme by Superb (but problem persists in other themes too)

Disable Gravity forms scroll to top in elementor

I've got a problem. I'm currently working for a client in an Wordpress buildup with Elementor. They have a form made with GravityForms.
When I submit the form it automaticly scrolls to top. I want it to do nothing more than submit the form. So... no scrolling.
I found out I can 'easy' set it off. But it won't work over here
https://docs.gravityforms.com/disable-automatic-scroll-form-confirmation/
On some other websites I found they said 'Place it in the functions.php'.
So I did, I had no idea where specific in the fuctions.php... but It didn't work on top neither on the bottom.
Other websites told me to work in the theme files (since there is no theme because I'm using Elementor I can't find where...
The docs.gravityforms.com told me to paste it in form_display.php...
Whatever... Where ever I post the 'easy' line of code. It wont work...
Can somebody please help me out.
Where specefic do I have the place this line of code
add_filter( 'gform_confirmation_anchor', '__return_false' );
Thanks in advance!!!
functions.php is a Theme File that you cam Access From WordPress Dashboard>> Apperence>> Theme Editor >> and now look for the right panel http://prntscr.com/prb6v2
After opening the functions.php file put that line of code at the bottom of it & Save.
However, It's recommended to do such Theme file edit via child theme otherwise you will lose your edit's after next theme update.

WooCommerce pages showing as blank

The cart, my-account and checkout pages are all blank when I try view them. All I get is the header and footer. All I have done so far is download WooCommerce, go through the settings and add theme support. My shop page wasn't working until I added theme support but now thats the only page that does. Also I've noticed that if I use WooCommerce shortcode in my php files I can get the pages. But the shortcode doesn't seem to be working in the backend. BTW I'm using my own custom theme incase thats relevant.
What can I do to fix this?
update:
This must be an issue with my theme as if I set one of the default ones to active all the WooCommerce pages show. But I don't know what my themes issue is yet.
update: I have noticed that the WooCommerce pages are allowing me to add templates to them, apart from the shop page which is working. Why is this happening?
There are few steps to do.
First turn on debug, by switching WP_DEBUG to true.
View source of page, and check if everything is being rendered, and also check console for JS error.
At last, for theme, if after switching to default theme, content shows up, there is a theme related issue.
Check for missing templates or template parts or structure within related with page from which content is missing and compare it with default themes templates and template parts.
See if there is some template part missing, or modified, like content.php or content-page.php, the_content() , etc.

Wordpress: Posts and pages content not showing but title is

I have a wordpress site which was working all fine but suddenly it got hacked by someone. I immediately deactivate my theme and then after sometime activate it. it got recovered but all contents of pages and posts is not showing up but title is showing. I checked databse tables. It contains all posts, also checked wp-admin. It also contains all data. Also tried by deactivating plugins and then activating it. Dont know what to do. please help me, I badly need it. Pleaseee
here is the link
http://islamiroohanimission.org
index page is okay. But go on any menu. it will give the message no post is found.
go to your functions file and see if they messed with your DEFINE posts to remove those parts of the page.

Resources