Forum Replies Created

Viewing 15 replies - 61 through 75 (of 171 total)
  • helldog2018

    (@helldog2018)

    Hi @abulow,

    You can add this code in the functions.php file, you can find this file in wp-content/themes/{your-theme}/functions.php

    Just add the code after the <?php and test it out.

    helldog2018

    (@helldog2018)

    Hi @abulow,

    Yes you can add an extra pdf file with the order confirmation.
    Add the following code inside your functions.php

    add_filter( 'woocommerce_email_attachments', 'attach_trade_conditions_pdf_to_email', 10, 3);
    function attach_trade_conditions_pdf_to_email ( $attachments , $id, $object ) {
    	$your_pdf_path = get_template_directory() . '/trade-conditions.pdf';
    	$attachments[] = $your_pdf_path;
    	return $attachments;
    }

    Make sure to alter the $your_pdf_path to your PDF file.

    helldog2018

    (@helldog2018)

    Hi @srd75,

    Yes you can alter the ‘add to cart’ button, add the following code inside your functions.php

    
    /*REMOVE THE BUTTON ON ARCHIVE PAGE*/
    
    function remove_loop_button(){
    remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 );
    }
    add_action('init','remove_loop_button');
    
    /*ADD NEW BUTTON THAT LINKS TO DIFFERENT URL */
    
    add_action('woocommerce_after_shop_loop_item','replace_add_to_cart');
    function replace_add_to_cart() {
    global $product;
    $link = site_url( '/your-link/', 'https' );
    echo do_shortcode('<br>[button link="' . esc_attr($link) . '"]BUTTON TEXT[/button]');
    }
    

    Make sure you edit the text /your-link/
    For example if the link should be https://www.yoursite.com/test/ then only place the text /test/.
    Also if your website is not https then please change to http

    And the text of the button is written as BUTTON TEXT (please change).

    Cheers.

    Forum: Fixing WordPress
    In reply to: Comments
    helldog2018

    (@helldog2018)

    Hi,

    If settings are not displaying then there is some sort of bug (in your plug-in or theme). It might be a good idea to turn on your debugging in wp-config.php file and check if there are any faults in the back-end.

    Forum: Fixing WordPress
    In reply to: Archives shortcode
    helldog2018

    (@helldog2018)

    Hi,

    Well you can always download the plug-in and check the custom codes yourself. Add them manually to the functions.php and you should be ready to go 😉

    Forum: Fixing WordPress
    In reply to: Archives shortcode
    helldog2018

    (@helldog2018)

    Woops sorry, install the Extra Shortcodes plug-in and enter the shortcode [extra_archives type=”alpha”]

    Forum: Fixing WordPress
    In reply to: Comments
    helldog2018

    (@helldog2018)

    Hi @shieldfire,

    Please read documentation from wpDiscuz to make sure you set-up every setting. You need to manually activate this comments plug-in for posts, pages and media.

    helldog2018

    (@helldog2018)

    Hi @marionkummerow,

    I think you should discuss this with your hosting company. If this is all you have, then you have no website at all 😡

    Are you sure you are in the correct FTP address? Please make sure {by asking hosting} if these are the correct login credentials.

    helldog2018

    (@helldog2018)

    Hi @marionkummerow,

    Let’s try the easiest part first by resetting the URL via functions.php:

    • Download fuctions.php from your FTP program (wp-content/themes/{your theme}/functions.php)
    • Add the following lines just after <?php
    update_option( 'siteurl', 'http://kummerow.info' );
    update_option( 'home', 'http://kummerow.info' );
    • Reload your website and administrator section a couple of times until website is completely up and running again
    • Remove the lines from functions.php and upload the file again

    Now if the website is up and running again, try the plug-in I said earlier.

    Forum: Fixing WordPress
    In reply to: Archives shortcode
    helldog2018

    (@helldog2018)

    Hi @spiros,

    You can use the shortcode [archives order=desc] or [archives order=asc]
    Check HERE for more shortcode possibilties.

    helldog2018

    (@helldog2018)

    Hi @marionkummerow,

    Easiest way to integrate https:// is by using the Really Simple SSL plug-in.

    Keep the URL to kummerow.info without the https:// and without the www.
    I think problem will be solved then.

    Also I hope you are still alowed to enter your administrator part? Else you need to edit this within your database, no reïnstall needed.

    helldog2018

    (@helldog2018)

    Hi @akhilaek,

    In the Jetpack plug-in you need to enable the ‘Subscribe Module’.
    If you use a standalone WordPress it is not automatically sending feed to the WordPress Reader. Therefore you need to connect an RSS feed or use the Subscribe Module via JetPack.

    RSS feeds information
    Jetpack Subscriptions module

    helldog2018

    (@helldog2018)

    Hi @mrsb26,

    If I check the website it just stops loading and displays the website.
    Content shows: For any enquiries please email me at: {your e-mail}.

    And to disable the plug-ins via FTP you just need to go to the folder wp-content/plugins
    Now after each folder add the text _OLD

    As long as the text _OLD is added, the plug-in won’t work.
    Now enable each plug-in one-by-one by removing the _OLD.
    Every restored folder retest your website and see if error is gone.

    Forum: Fixing WordPress
    In reply to: Comments
    helldog2018

    (@helldog2018)

    Hi @shieldfire,

    What is the website? We can take a look at it for a moment, thanks 🙂
    Also in back-end, have you taken a look at the ‘comments’ menu on the left side?
    You need to alter some settings here.

    helldog2018

    (@helldog2018)

    Hi @mroy62,

    Please take a look at WP Customer Area, is this what you need?

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