Steve
Forum Replies Created
-
Forum: Plugins
In reply to: Plugin: WooCommerce – currency symbolNever mind fixed it
I thought it was down to caching or something so cleared cache in chrome reloaded page and still didn’t fix it.
Opened a new browser tab and went to the site and problem was solved.
Forum: Plugins
In reply to: [Plugin: Woocommerce] – CustomizeTo remove try:
remove_action( ‘woocommerce_after_main_content’, ‘woocommerce_catalog_ordering’, 20 );
Or
remove_action(‘woocommerce_after_shop_loop’, ‘woocommerce_catalog_ordering’, 20 );(if the above fail open the woocommerce hooks file search for the catalog_ordering and find out were its been added, then copy the line where its been added to your functions.php and change add_action to remove_action – I think)
You can align it by adding custom hooks I think and then apply css to the hooks, like in the link above. I can’t remember how I did this so Ill have to wait until after work and view my code and confirm.
Forum: Plugins
In reply to: [Plugin: Woocommerce] – CustomizeHi pansyflower,
If I remember correctly you cannot remove the catalog sorting option at the end of the shop page without causing problems somewhere else (I’ll try find out why when I get home)
Also to place the sorting option at the beginning of the products grid I think you should use one of these (again I’ll have to confirm when I get home):
add_action( 'woocommerce_before_main_content', 'woocommerce_catalog_ordering', 20 );
Or
add_action('woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 20 );
I did come across some issues with this to, I remember the drop down appearing on a single products page. (May be some code could stop this from happening)
In the end I settled for it leaving it the way it was, but that’s not to say it can’t be done.
Forum: Fixing WordPress
In reply to: Drop Down Menu Appearing Behind Slider (TheTheFly Image Slider)Never mind I figured it out.
I hade thez-index: 999;
in the wrong Div.Forum: Fixing WordPress
In reply to: Drop Down Menu Appearing Behind Slider (TheTheFly Image Slider)Hi ugatorf,
I see you managed to solve the issue of the drop down menus appearing behind the slider.
would you mind sharing how?
ThanksForum: Fixing WordPress
In reply to: Remove /Index.php from URLs – Zeus serverHi Calum,
Is it necessary for you to have two installs of wordpress? Could you not do something like create a /blog page and set this to show your posts? I think this could work. So your blog posts would look like:
https://www.yoursite.com/blog/post-nameI haven’t come across a scenario like yours before.
I would try the script suggested herehttps://www.netregistry.com.au/support/articles/wordpress-seo-friendly-permalinks#subdirectory
and look under the “Zeus rewrite for when WordPress is installed in subdirectory“
I would remove any other scripts from both the main directory and the sub directory and place this new script in your sub directory to see if your subdirectory links work first.
If this works check your root directory links to see if they follow the script. If the main root links don’t work, I would try adding the other script file to the root directory to see if that fixes things. (so one script in the root and one in the sub)Its a bit trail and error but its all I can think of at the moment.
again before I would go any further I would make sure that I definitely need 2 installs of wordpress.
I think things would be a lot handier if you had just the one.Forum: Plugins
In reply to: [Plugin: Woocommerce] – CustomizeI found out how to fix my problem.
In the woocommerce folder there is a file called:
woocommerce-hooks
which has all the hooks tags.Forum: Plugins
In reply to: woocommerce paginationI can’t remember why this happens. I think its because wordpress posts per page is set to X in your settings so woocommerce follows that setup (only showing X number of products)
Anyway to fix it open your functions.php file and insert:
//NUMBER OF PRODICTS TO DISPLAY ON SHOP PAGE add_filter('loop_shop_per_page', create_function('$cols', 'return 4;'));
This will add four products to the shop page and will have pagination at the bottom. Change the “4” to the number of products you would like to display on the page. i.e If you have 20 products and would like to display them all on the page return 20;
By displaying all your products the pagination will be removed.Hope this helps.
Forum: Plugins
In reply to: [WooCommerce] [Plugin: WooCommerce] Reorder content on single productHi,
Did you have any luck with this?
I’m trying to do the exact same thing, I’m pretty sure hooks need to be added to the functions.php file.I have been testing how to move bits and bobs but can’t find out how to reorder the shop page so the “orderby” drop down menu appears at the top rather than the bottom.
My progress so far is here:
https://www.ads-software.com/support/topic/plugin-woocommerce-customize?replies=3Forum: Plugins
In reply to: [Plugin: Woocommerce] – CustomizeOk so I now know that to do what I am trying to achieve I need to use hooks
https://www.woothemes.com/woocommerce-docs/codex/third-party-custom-theme-compatibility/#section-1I also edited some code to help me move the breadcrumbs to were I wanted to put them:
remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20 ); add_action('woocommerce_before_shop_loop', 'woocommerce_breadcrumb', 20 );
But I can’t figure out how to edit the position of the sort products by drop down menu.
I have tried:remove_action( 'woocommerce_after_shop_loop_products', 'woocommerce_ordering', 20 ); remove_action( 'woocommerce_after_shop_loop_products', 'woocommerce_ordering', 10 );
and a few other hooks but no joy removing it
Forum: Plugins
In reply to: [Plugin: Woocommerce] – CustomizeI see there is an option in the general settings to Enable WooCommerce CSS styles. And once I deselect this I can use custom css.
But can anyone tell me how to reposition the breadcrumbs and the sorting drop down box mentioned above?
TIA
Forum: Fixing WordPress
In reply to: Remove /Index.php from URLs – Zeus serverI seem to have fixed my problem.
Firstly I removed the test site directory (/wp).
Secondly made a txt file on my desktop called rewrite.script.txt and pasted the code from: https://www.adamchristie.co.uk/wordpress/seo-friendly-wordpress-urls-on-namesco-zeus-servers/into it, and put it in the root folder of my site. (in my case the Web folder)
I then copied my custom theme to my desktop and deleted it from my web folder.
Then renamed the rewrite.script.txt in my web folder to just rewrite.script, re-uploaded my theme and what do you know, no more index.php!!I have no idea why but when I made the rewrite.script file on my desktop using dreamweaver and uploaded it, it wouldn’t work. But making a rewrite.script.txt uploading it and renaming it to rewrite.script worked like a treat!
I’m not sure which of the above steps solved my issue or if it was a combination of all of them.
Anyway hope this helps anyone else who has this problem.
Forum: Fixing WordPress
In reply to: index.php Zeus and RedirectionHi rnperki
Did you manage to get this working?
I created the rewrite.script file and placed the code from:https://www.benhuson.co.uk/2010/03/01/wordpress-permalinks-zeus-server/
into it. I get a similar problem with a custom permalink structure none of my pages work.
Forum: Themes and Templates
In reply to: Display a specific page and its sub pages on main pageTurns out instead of listing pages and sub pages it was easier to create a new menu in order to achieve what I was trying to get.
I used the code here to make the second menu:
https://www.ads-software.com/support/topic/on-adding-second-menu-to-twenty-eleven?replies=4
I had a problem with the ‘home’ page appearing in the second menu so I used the function found here to remove it:
https://www.ads-software.com/support/topic/remove-home-from-menu-1?replies=9
Forum: Themes and Templates
In reply to: Display a specific page and its sub pages on main pageSo after a few hours of searching I haven’t been able to find what I’m looking for.
I’m trying to make an array of page ids and display the titles of these pages.
Then I want to search the array and see if the pages in it have children and if so display the child titles underneath as links (following my css).
It doesn’t sound to difficult but I can’t seem to get my head around it. I have been mashing code together but cant figure it out.
Anyone got any suggestions?