Which files display categories in the wordpress backend? - php

We migrated all the files from one domain to another. It has created issues with the wordpress default post's categories. It does not display any category in the backend although they exist in wordpress tables. When we add new category, it does not get displayed in admin panel. The screen shot is as dl.dropboxusercontent.com/u/39933074/category-error.png. I think the issue is due to some files are missing while migrating the files.
Can anyone please help me in resolving this issue and also please let me know which files contains the code which retrieves categories in the admin panel

Do some basic WordPress troubleshooting first:
Deactivate all your plugins
Use a default theme (i.e. Twenty Thirteen)
Try again
If that doesn't fix your problem, reinstall WordPress via your dashboard (-> Updates).

Related

Is it possible to use WordPress theme preview as main website source that will work all functions?

I'm new in WordPress
I misunderstand one thing about the theme use in WordPress
For example, I wanna create the as same website as this I purchased this template.
But when I installed the theme in WordPress it shows me the default Index.php file with little info, used my purchased theme
And when I purchased the theme there exist all src files of the above website.
How I can use my purchased src files of website that will work all function for ex: logins with db?
Thanks in advance!!!!
After you purchased the theme, you probably have just installed the theme and haven't created any pages or tweaked any settings. So if you want to get the same look as that of the preview website, you probably have to check whether the developer has provided any dummy data for importing.
Most of the themes listed in ThemeForest would have the option to import dummy data, so that customers would be able to install some pre-made posts, pages, config, etc. This might be there inside the custom settings page(as a single button to download the content) of the theme, or maybe they have provided it in separate XML files for you to import. If the files you have downloaded doesn't have it, make sure you downloaded All files & documentation. Here's a sample screenshot:
My guess is that you might have only downloaded using the Installable WordPress file only option.
If you are still unable to get the dummy data, probably you have to ping the support of that theme asking them to provide the dummy data.

Woocommerce Page Setup Fields Missing

On the Wordpress dashboard under Woocommerce > Settings > Advanced there are normally fields where you can link a page to a function (Cart, Checkout, My Account etc.)
For some reason mine have disappeared and all my old links now return a 404.
See what I mean?
I can't find an answer anywhere on the web and I've tried everything I can think of. Anyone had a similar issue?
The issue seemed to appear after installing one of these plugins:
Woocommerce Upload My File
Easy File Upload
I have deactivated both but the issue persists.
I've tried:
Other browsers
De/Reactivating Woocommerce
Restarting the Web Server
Is it possible for plugins to make modifications that remain even after they are deactivated?
Please help!
Edit: I've isolated it to being an error in the database. I exported my site with WP All-In-One Migration Tool and exported everything besides the database. Does anybody know which database entries relate to woocommerce settings?

WordPress Multisite Customize Error

I have a WordPress multisite build with 9 different themes running. Everything is working okay, I've used Redux Framework on most of them but I'm not able to use the native WordPress customizer, I receive the generic, "Cheatin’ uh? Sorry, you are not allowed to customize this site." error. I am a super admin so I don't believe it's a permissions issue. I'm not able to use the customizer on any of the sites, so I'm thinking it's a core issue but I'm not sure where to look. Any suggestions would be greatly appreciated.
Many people have same issue after update to WordPress 4.7x.
I see someone fixed this issue using this method:
install the plug-in [User Role Editor][1]
go to Users->User Role Editor
select Role: Administrator at the top
check the row edit_theme_options
click on Update
confirm the message box

Drupal 7 multi site site specific theme is not working

I have created a multi site on Drupal 7. I have mapped it with two different domain namely tom.mydomain.com and jerry.mydomain.com.
Accordingly I have created two separate database namely tomdb and jerrydb and created a respective directory (folders) under the sites directory.
My Current folder structures are mentioned below
drupal/sites/all
drupal/sites/default
drupal/sites/tom.mydomain.com
drupal/sites/jerry.mydomain.com
I have changed the database connection details in the settings.php under the specific folders.
Everything works fine till now.
However, I wanted to use site specific theme and logo for both domain. So I created a theme folders under particular directory. But drupal is not considering the correct theme specific to that particular site. It is everywhere still using the theme from site/all folders.
Would you please suggest why it is not using theme i have created for particular domain?
Thanks in advance.
After you add a multi-site theme under the specific site's directory, for example, drupal/sites/tom.mydomain.com/themes/tom_theme, you need to set that theme as the default theme for your particular site.
This is done in the Admin area under Appearance. See detailed instructions here http://www.inmotionhosting.com/support/edu/drupal-7/customize-theme/change-default-theme
Also just checking you have configured the sites/sites.php file, which maps domains to the particular multisites.
See details here https://www.webwash.net/drupals-multi-site-aliasing-with-sites-php/

Issues regarding custom theme, plugins not working in Magento

I am using magento custom theme. When I open my product page, while loading the page the default zoom function buttons are visible for a moment. When page load completely the buttons are disappear.
Let us look the images for more info:
Before (while loading)
After page load
Why this happened so? I am installed a new custom theme. This theme not provide any image zoom functionality. I think the zoom buttons are load from frontend\base\default\template\catalog\product\view\media.phtml. Why my site load this page, since I use a custom theme the site should use the theme's media.phtml file. How can I solve this issue?
And when I try to install some product zoom plugins, these are not working in my theme. The plugin files are saved in my default theme directory. And I manually copy the plugin files from default to custom theme directory, but no luck. Please refer the LINK for more details. Is there any way to rectify this?
Please help me ...I am using magento 1.9.0.1
First of all you need to check which package you are using for you theme, you can check if media.phtml is being called from rwd folder.
i.e. /app/design/frontend/rwd/default/template/catalog/product/view
Or you can enable path hints and locate the phtml files, and accordingly that you can put the design files of custom module there.
To turn on template path hints in Magento:
log into the magento back-end admin.
Go to System -> Configuration in the main menu.
Go to Developer on the bottom left under ADVANCED.
Switch to the store view on the top left to your current website or store
view.
or check the below link.
https://support.sweettoothrewards.com/entries/21255937-How-do-I-turn-on-template-path-hints-

Categories