Bazan
Forum Replies Created
-
Lol, fix name conflict – which is an obvious bug – is not a premium solution.
Luzinis, just put this code somewhere in functions.php of your theme:
add_filter( 'woocommerce_shipping_methods', 'fix_cod_gateways_with_flexible_shipping', 11 ); function fix_cod_gateways_with_flexible_shipping($methods) { unset($methods['flexible_shipping_info']); return $methods; }make sure PHP mode is open there. Don’t do that via wordpress theme editor in admin panel, but via code editor, of course check it on localhost first.
- This reply was modified 7 years, 3 months ago by Bazan.
Forum: Plugins
In reply to: [Orphans] Prośba o filtr "iworks/orphan/replace"Przypominam, że nadal nie ma tego w oficjalnej wersji 🙂
Yes it was removed in v2.3 in July 21st.
I need this function too.Developers, can you add this option back or we have to install some other plugin for it? It is very useful in my case to redirect eg. category archive for first product in this category.
Forum: Plugins
In reply to: [Orphans] WPDEBUG notice – Undefined index: typeTeraz jest ok, nie widzę żadnych błędów.
Forum: Plugins
In reply to: [Orphans] WPDEBUG notice – Undefined index: typeNiestety jest gorzej, błąd nie występuje ale nie wyświetla się w ogóle cały wiersz tego pola.
http://screenshu.com/static/uploads/temporary/n7/lt/yz/yn7e4x.jpg
home.pl jesli to cos zmienia ^^
Forum: Plugins
In reply to: [Simple Pagination] Limit number of posts in a custom template post pageno showposts=3 but posts_per_page=3 🙂
is the domain changed? If it does then use this tool: http://interconnectit.com/products/search-and-replace-for-wordpress-databases/
When u change domain you should be aware of using https and / on the end. Use this pattern:
old domain: http://www.oldomain.com/ = wrong! www.olddomain.com = wrong! olddomain.com/ = wrong! olddomain.com = good :) new domain: http://www.newdomain.com/ = wrong! ... same as up newdomain.com = good :)To change old domain to new domain.
Also, if u uploaded a database, then login/password is the same as old, not the new from installation.
Also to import a database you should do that on empty database, not installed WordPress.
Forum: Fixing WordPress
In reply to: CSS specificity problemBecause padding for li was 0 before too 🙂
How u want to change ul when u set padding to li? ;P
In styling ULs i am using a pattern like this (for example menu):
#site-menu {} #site-menu ul {} #site-menu ul li {} #site-menu ul li a {} #site-menu ul li:hover a {} #site-menu li ul {} #site-menu li li {}to never forget all styles 🙂
Forum: Fixing WordPress
In reply to: CSS specificity problem.homepagediv ul {padding:0}Forum: Fixing WordPress
In reply to: Get_post is not functioning properly.For the future i can give You an advice.
Instead of using subfields etc.
U can save all the repeater field values in 1 array by:
$repeater = get_field('repeater_name');Then u can
var_dump($repeater);and use:
foreach ($repeater as $item) : echo $item['my_title'].' - '.$item['my_other_field'].'<br>'; endforeach;Its easier to navigate than use get_sub_field and have_rows()
Forum: Fixing WordPress
In reply to: Widen Image in BlogOfc, i thought he made it in his theme. Instead of editing main theme style, you should make a child theme. http://codex.wordpress.org/Child_Themes
All to do is just create style.css with header from the codex and import main theme style.css, then just add your changes.
/* Theme Name: My child theme title Template: main-theme-directory-name */ @import url("../main-theme-directory-name/style.css"); /* =Theme customization starts here -------------------------------------------------------------- */ img { max-width:none; }Forum: Fixing WordPress
In reply to: Widen Image in Blogin css find img { max-width:100%} and set to max-width: none, or 1000px;
Forum: Hacks
In reply to: custom nav_menu_item functionIve done this in some other way, dont work as good as i tried to do, but its enough in my case.
Ive made a new static PAGE, with a template special-product.php,
on start even before get_header(); ive made a query to get a posts with a field “special”, and save its permalink, then, if ive found a post done a wp_redirect($permalink, ‘302’);
Else, if there isnt any “special” post it shows normal page as it is in page.php, and show its content where ive written that There is no actual special products.
But still I would like to know how to add my custom function to prepare a menu link item to add in nav_menu in admin as i am adding normal items.
Forum: Fixing WordPress
In reply to: insert image size chooseAfter 2 months i have still a problem with image editor and image sizes, but – i have found that it dont work only for jpgs. If i upload gif it works fine, i can crop images, and choose image sizes, so the problem in my case is with a hosting service, not with wordpress actually.
I am waiting for response from hosting administrator, i hope he will say me what was wrong and ill write it here 🙂
Forum: Themes and Templates
In reply to: Clickable image over header sliderIt is possible but its hard to someone who isnt a programmer.
VSlider plugin + a lot to do with his php and css files.