Forum Replies Created

Viewing 15 replies - 61 through 75 (of 124 total)
  • Thread Starter Mikael Boldt

    (@boldt)

    I found a solution on http://www.wprecipes.com/how-to-automatically-add-a-search-field-to-your-navigation-menu

    Adding the following to the child theme functions.php:

    function add_search_box($items, $args) {

    ob_start();
    get_search_form();
    $searchform = ob_get_contents();
    ob_end_clean();

    $items .= ‘
    < li >’ . $searchform . ‘< /li >
    ‘;

    return $items;
    }
    add_filter(‘wp_nav_menu_items’,’add_search_box’, 10, 2);

    No! – You cannot from change this under Calendar Options
    You have to visit Calendar Categories.

    use your backup.
    the backup the programme asked you to make before updating

    or are you one of those real guys?
    Real guys do not take backup – they cry!

    You have too many items in your banner or the wording is too long, that is why the banner has started a second row.

    possible solutions:
    a) fever items:

    b) shorter names: Virksomhedprofil -> Om
    Leveradører & Partnere -> Partnere

    c) make the template wider by correcting style.css

    That’s because the theme uses many WordPress core text strings which have been translated in the Danish version of WordPress.

    Maybe.

    But now I found the language file for TwentyTwelve so maybe it will help.

    /wp-content/languages/themes/

    Strange way to hide the language-files for standard themes, while other themes have their language-file in a Language-folder inside the theme.

    /wp-content/themes/my-favourite-theme/languages/

    I am setting up my blog using the Danish WordPress and TwentyTwelve. For this theme there is no Danish language file, but fortunately it is easy to establish one by using the plugin: “Code Styling Localization”.

    and now something strange appears!

    Some of the phrases are already translated into Danish although there is no language file.
    I can then translate it as missing by using the above mentioned plugin, but I can also overwrite some of the existing translations to something that suited my language.

    For example, “Leave a Reply”, which I would like to change the “Post a comment”. So I change it, but my translation is used only 1 of the 6 places as the phrase is used in the theme. and so it is with many of the pre-translated Danish words and phrases.

    How can I fix the above?

    Thread Starter Mikael Boldt

    (@boldt)

    Thank you
    already using firebug -an excellent toll

    Forum: Plugins
    In reply to: Woocommerce

    You mean “…for free”?

    Woocommerce is a business
    I have no problems with businesses who tries to earn money.

    and I have no problem in investing in time and money in establishing a webshop, because this is my business and investment is tax-deductible.

    My first webshop – for testing was established with twentyten theme, and I had no problems to get Woocommerce to act accordingly, once I learned how to turn on the use of RAM.

    You have 2 options: spend some hours in personalize your own WP-theme or spend some small money to buy others themes.

    Thread Starter Mikael Boldt

    (@boldt)

    Thank you! It works fine

    I will study further how add_filter() works in order to understand.

    PS. Maybe this should be introduced in the codex on child-themes?

    Thread Starter Mikael Boldt

    (@boldt)

    I think that child-theme is a brilliant idea to modify themes and be able to save my personal changes without making it too complicated to do later update. Here is an example:

    function twentyten_page_menu_args( $args ) {
    $args[‘show_home’] = true;
    return $args;
    }

    (in the above just replace twentyten, with twentyeleven, twentytwelve – its the same function)

    I am making a new WP-site, which will be an online handbook (a lot of Pages -only a few Posts) and I want to replace “Home” in the navigation bar with the word “Instroduction”. In order to do that, I want make the following changes to the function:

    function twentyten_page_menu_args( $args ) {
    $args[‘show_home’] = ‘Introduction’;
    return $args;
    }

    But this is not possible.

    I don’t know if it is possible in the woocommerce system to use a plugin like http://wordpress.org/extend/plugins/wordpress-access-control/
    but this plugin will hide pages and posts for non-registred persons (and visa versa).

    First update to the latest version of WP (3.4.1)
    Second update to the latest version of WooCommerce (1.6.5.1)

    and keep your all your plugins updated.

    then tell us about your problems related to the use and presentation at your web-site.

    If you haven’t had sale since 2011 then I see 3 problems

    1) nobody knows about your web-shop – Be active, use your blog-tool make some news, link to your facebook account so your friends can see and give thumbs.

    2) you’re selling crap – Sell products which people wants

    3) you’re too expensive – what is the price level at your competitors? both in real shops and on the web.

    I do not know how to do it exactly but inside woocommerce_function.php is a fucntion: function woocommerce_process_login() and at the bottom is a line: wp_redirect(get_permalink(woocommerce_get_page_id(‘myaccount’)));

    Solution number one is to change the word ‘myaccount’ to something else.
    I cannot recommend this because it is a nightmare to keep track on own changes every time there is an official update.

    Solution number 2 may be!
    May be it is possible to cancel the function woocommerce_process_login() and replace it with your own.

    There is a system of elimination/replacing of functions in the theme- system parent/child. if a plugin function is considered to be a child theme function, then you should be able to copy the function in to your theme functions.php and add your changes here.

    but now I’m guessing

    if you want to remove the dropdown sort option you shall open your theme functions.php and add following line:
    remove_action( 'woocommerce_pagination', 'woocommerce_catalog_ordering', 20 );

    in general, is it possible eliminate elements from your woocommerce design using a remove_action.

    In woocommerce plugin is a file called woocommerce-hooks.php inside this file is listed all elements of the various elements of the wep-shop-pages, which all can be removed this way.

    Just find line add_action line you want to remove cope the line into functions.php and overwrite “add” with “remove”.

    I have created a woocommerce webshop using a standard theme.
    I preferred to work with Weaver ii because of its flexibility, but this was actual a hindrance to achieve my goal, so I shifted to TwentyEleven. But also this theme had some issues especially with the sidebar widgets during the process.

    So once again I changed theme. Twentyten makes no problem with widgets. Instead I modified the CSS to the result I wanted.
    (I have now renamed the theme, so it wont disappear when updating.)

    Maybe it is possible to cancel a woocommerce function inside the template functions. like this

    remove_action( 'woocommerce_product_tabs', 'woocommerce_product_reviews_tab', 30);
    remove_action( 'woocommerce_product_tab_panels', 'woocommerce_product_reviews_panel', 30);

    which removes product reviews?

Viewing 15 replies - 61 through 75 (of 124 total)