cycas
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Flat Bootstrap] Some quick questionsThe call to action area is replaced if you put a widget in the ‘page bottom’ slot.
If you don’t want the content and categories widgets in the sidebar, you can just delete them from the Sidebar widget area.
Go to /wp-admin/widgets.php to manage your widgets. The new Customise – > Widgets thing that the latest versions of WordPress have added is deeply annoying as it doesn’t give you access to properly control widgets, imho. (And not really down to this theme, it’s a WP thing, not a theme thing)
Forum: Fixing WordPress
In reply to: How to improve search performanceThank you! I do optimise the database fairly regularly, every month or so.
I considered using Google Search, but that would mean a search only for public posts, and really I need a search that covers non-public content as well.
Forum: Reviews
In reply to: [Search Everything] Slow for big sites.Thank you for leaving this comment. I am looking for a solution for a site with 9000+ posts and counting. Looks like this plugin is not for me 🙁
Forum: Plugins
In reply to: [ImageMapper] Select where users should be redirected.. not availableIf anyone else is trying to use this plugin on a site with a ridiculously large number of posts, I fixed this by editing wp-content/plugins/imagemapper/imagemapper.php to comment out the code that produces a list of posts:
<select name=”area-link-post”><?php
// $posts = get_posts(array(‘numberposts’ => -1));
// foreach($posts as $post) { echo ‘<option value=”‘.$post->ID.'” ‘.($meta->link_post == $post->ID ? ‘selected’ : ”).’>’.(strlen($post->post_title) ? $post->post_title : ‘(untitled, id: ‘.$post->ID.’)’).'</option>’; }
?></select>I can still insert a link to a post by putting the URL into the general URL box, so this approach works for me.
I guess there should be some way to handle large numbers of posts, even if it just removes the option? Should I try to submit a patch to this plug-in (never done that before, any pointers welcome!)
Forum: Plugins
In reply to: [ImageMapper] Select where users should be redirected.. not availableI should have looked at the form source!
I can see “
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /public_html/wp-includes/taxonomy.php on line 3741)So it looks like the plugin is trying to pull in a list of every post on my site, and because the site is kind of huge, it’s failing?
Forum: Reviews
In reply to: [Dashboard Widget Sidebar] Neat.Sorry, I missed this before!
Just installed this widget on another site – no problems at all now.
Forum: Plugins
In reply to: [Slidy] Slides don't showHmm, no I didn’t, thank you, I’ll try that!
Forum: Plugins
In reply to: [WooCommerce] moving the product sorting above the productsI know this is a bit old, but I just had a similar niggle, so thought I’d respond. In order for the remove to work, you have to specify correctly where ‘woocommerce_catalog_ordering’ is hooked.
If you tried this:
remove_action('woocommerce_pagination','woocommerce_catalog_ordering', 20);and it didn’t work, then that’s probably because your ‘woocommerce_catalog_ordering’ isn’t hooked onto woocommerce_pagination, or if it is, it isn’t hooked at position 20.
The reason this worked for other people but not for you is probably that their theme did have ‘woocommerce_catalog_ordering’ hooked at that position.
What I did was look in woocommerce/template/archive-product.php where I saw on line 40 that woocommerce_catalog_ordering was hooked at position 30 to woocommerce_before_shop_loop. I doublechecked this against woocommerce-hooks.php, and yes, there was ‘woocommerce_catalog_ordering’at position 30, and nothing anywhere else changing that.
So, what worked for me was:
remove_action('woocommerce_before_shop_loop', 'woocommerce_catalog_ordering',30);This probably won’t work for you, because your form is at the bottom, so it probably isn’t hooked to woocommerce_before_shop_loop. You need to find out what it is hooked onto, and where. I suggest you do a global search for woocommerce_catalog_ordering – probably somewhere in your theme, will be a line that says something like :
add_action( 'functionhookedto', 'woocommerce_catalog_ordering', 30 );Once you’ve found that, you should be able to unhook it in your functions.php. I hope that makes sense!
Forum: Plugins
In reply to: [WooCommerce] Same products different price based on countryI’m also trying to figure out if this is possible. Will post back if I come up with a solution!
Forum: Fixing WordPress
In reply to: Can I put "The Loop" inside a post / page?You might find this plugin helpful : http://wordpress.org/extend/plugins/list-category-posts/
Forum: Fixing WordPress
In reply to: HELP please – cannot access dashboard or siteit looks like you have lost all the linebreaks – in theory it should probably be OK without them, but it looks horribly difficult to edit!
Did the tool you used to edit the css file compress it, perhaps? If so, reopening in teh same tool should solve the problem.
Forum: Fixing WordPress
In reply to: CMS for CustomerSet them up as a new user with permissions editor or author. this is default WordPress functionality, you don’t need a plugin.
Forum: Fixing WordPress
In reply to: [NSFW] My whole website has disappeared!!! Adult Content !http://londonescortfantasy.com/wp-login.php seems to exist OK – what happens when you log in?
If you can log in, try changing the theme to a default theme and see if your pages work in that. If they do, you have a theme problem – can you restore your theme from a backup?
If you can’t log in, then try to find the file wp-config.php and check the details there.
Your theme files all live in wp-content/themes/yourtheme
Forum: Fixing WordPress
In reply to: HELP please – cannot access dashboard or siteYou have edited wp-includes/widgets.php and the whole thing fell over?
This may be a daft question, but can you not just restore to an archive copy of wp-includes/widgets.php from a clean download of WordPress? Probably you just have a misplaced comma or something that is preventing the php from doing its job.
It looks like your host may have things set up so that you don’t get a helpful (but potentially insecure) error message if you make a coding error, but usually there is an error log somewhere with that sort of host – maybe available via Cpanel or similar – which will help you pin down what it was that you broke.
Forum: Fixing WordPress
In reply to: [NSFW] My whole website has disappeared!!! Adult Content !It looks like your theme is only loading the header. Are you sure that nobody has logged in via FTP and deleted things?
Can you connect via FTP and check that all your theme files are there and that your wp-config.php exists? Try downloading wp-config.php and check all the details in there?
If you definitely haven’t changed anything yourself, then I’d be inclined to change the FTP password and log in using a different machine as well if you can.