helldog2018
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Handelbetingelser med ordrebekæftelseHi @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
<?phpand test it out.Forum: Fixing WordPress
In reply to: Handelbetingelser med ordrebekæftelseHi @abulow,
Yes you can add an extra pdf file with the order confirmation.
Add the following code inside your functions.phpadd_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.
Forum: Fixing WordPress
In reply to: 3 level of options on sales pageHi @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 httpAnd the text of the button is written as BUTTON TEXT (please change).
Cheers.
Forum: Fixing WordPress
In reply to: CommentsHi,
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 shortcodeHi,
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 shortcodeWoops sorry, install the Extra Shortcodes plug-in and enter the shortcode [extra_archives type=”alpha”]
Forum: Fixing WordPress
In reply to: CommentsHi @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.
Forum: Fixing WordPress
In reply to: Site disappeared after switch to httpsHi @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.
Forum: Fixing WordPress
In reply to: Site disappeared after switch to httpsHi @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.
- This reply was modified 8 years ago by helldog2018.
- This reply was modified 8 years ago by helldog2018.
Forum: Fixing WordPress
In reply to: Archives shortcodeForum: Fixing WordPress
In reply to: Site disappeared after switch to httpsHi @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.
Forum: Fixing WordPress
In reply to: Not shown up in wordpress readerHi @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.Forum: Fixing WordPress
In reply to: Endless Loading when previewing pagesHi @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 _OLDAs 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: CommentsHi @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.- This reply was modified 8 years ago by helldog2018.
Forum: Fixing WordPress
In reply to: file sharing through WPHi @mroy62,
Please take a look at WP Customer Area, is this what you need?