stevie77n
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Restrict product purchase quantity using couponsHi Joel,
Thanks for your reply!
I’ve added my vote to the feature request. I’ll have to think of a work around instead…
Just managed to fix this.
I looked at another site were the editor was working ok with Sucuri installed and saw that the line:
/** ESucuri Theme Editor */
define( ‘DISALLOW_FILE_EDIT’, false);was added at the top of wp-config.php rather than at the bottom.
Adding this code to the top of the wp-config.php file, rather than the bottom, solved the issue.
Thanks.
Hi Eve,
Thanks for your reply.
I don’t have that line in my wp-config.php file, yet the editor is still disabled and not shown under the WordPress menu Appearance.
I have also tried adding the line:
define(‘DISALLOW_FILE_EDIT’, false);
to wp-config.php but still the editor does not appear. The htaccess file is writable with permissions of 644.
Would you have any other suggestions on how to get the editor back?
Hi,
I am having the same issue on a number of sites, and these are sites where I have never enabled hardening of the Plugin and Theme Editor.
When I go to revert hardening I get the following error message:
Sucuri: The theme and plugin editor are not disabled from the configuration file.
The line above you said to look for in the wp-config.php file does not exist. I have tried adding that line of code but set to FALSE but still the editor does not appear.
Any suggestions?!
Thank,
Steve.
Forum: Themes and Templates
In reply to: [Twenty Thirteen] Sub-menu disappears on hoverFixed.
I added the following css to the #navbar class:
position: relative;
z-index: 100;Seems the main content area was sitting above the sub-menu drop down so the drop down disappeared when trying to hover over it.
Ok, thanks.
I have the premium version I just couldn’t find the option to change to vertical alignment.
With your answer i’ve found the width slider!
Forum: Fixing WordPress
In reply to: Sub-menus in Twenty Ten Theme.Ok, I now have the sub menu displaying but it is displaying permanently and affecting the layout of the nav menu.
I guess i’ll need to create some CSS now to correctly format it all?
Thanks.
Forum: Fixing WordPress
In reply to: Sub-menus in Twenty Ten Theme.Yes, i’m using Chrome with web developer tools. CSS was my initial thought.
When viewing the html there are no sub menus listed in the code, just the parent.
The website is https://www.fairwaypsd.com/ and the menu which should have sub-menu items is ‘Response Handling & Fulfilment’.
Thanks for your help.
Forum: Fixing WordPress
In reply to: Sub-menus in Twenty Ten Theme.No, the sub menu items appear OK with the original 2010 theme.
Forum: Fixing WordPress
In reply to: Sub-menus in Twenty Ten Theme.Ok, still having issues but an update on what I have tried in the hope that someone can help me:
1. Updated WordPress to latest version – still doesn’t work with custom Twenty Ten theme.
2. Tested with a default theme – sub-menus appear.
3. Turned off all plugins and tested with custom theme – doesn’t work.
4. Checked the header.php file and found the following code related to the nav menu: wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’, ‘depth’ => ‘1’ ) );
5. Changing the depth value to 2 I can see all the sub menu items but all displayed at any one time.
6. When viewing the page source or inspecting the page elements the sub menus are not listed in the code.I believe some additional code needs to be entered in the header to display the sub menus, but am unsure what.
Would anyone have any ideas what could be causing this?
Thanks!
Forum: Fixing WordPress
In reply to: Sub-menus in Twenty Ten Theme.Hi,
It does appear to be theme specific, the sub-menus appear when switching to a default theme. The current theme is a customised version of Twenty Ten I believe.
Would you have any ideas what to try next to try to fix the problem?
Thanks for your help!
Forum: Fixing WordPress
In reply to: Sub-menus in Twenty Ten Theme.The website is:
The sub-items for the primary nav have been added to the parent ‘Response Handling and Fulfillment’.
There are four in total that have been added as sub-items (dragged to the right under the parent Response Handling and Fulfillment) which for some reason are not displayed.
The website is based upon the Twenty ten theme.
Thanks.
Forum: Fixing WordPress
In reply to: Sub-menus in Twenty Ten Theme.Yes, dragging them to the right of the parent.
Forum: Fixing WordPress
In reply to: failed to open stream: No such file or directoryI’ve tried all but rsync and still getting the same issues.
I don’t have shell access to the server i’m migrating from as it is the previous developers server, only have ftp access.
Would you have any other ideas??!
Forum: Fixing WordPress
In reply to: failed to open stream: No such file or directoryI know!
I used my usual method of migration of export/import the DB from cpanel and then using a search and replace php script to change paths.
I’ll redo it using your method.
Thanks for the help, i’ll keep you updated!