Andrea Veglia
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: css .nav-menu not displaying correctly on some pagesIt looks like it doesn’t read your Oswald font. Are you sure to read the same css file for both pages?
Forum: Fixing WordPress
In reply to: css .nav-menu not displaying correctly on some pagesThere must certainly be a small difference that I cannot see at the moment. If you’re not in a hurry, I’ll look better later.
AndreaForum: Fixing WordPress
In reply to: css .nav-menu not displaying correctly on some pagesHello @agaspicy,
I think the problem is due to a missing css file being called.
Check that the file exists. Below I leave the photo of the error:Forum: Fixing WordPress
In reply to: Site works but white screen wp-admin after migrationHi @paulmullon.
There is a file in the root of wordpress, called “wp-config.php”.
Check that all the parameters are correct ( name of database, user database, password database, hostname database, ecc..).
However, some solutions to the problem are listed on this page
https://www.fixrunner.com/what-to-do-when-your-wordpress-admin-panel-is-blank/#webhost- This reply was modified 5 years, 7 months ago by Andrea Veglia.
Forum: Localhost Installs
In reply to: Returning to wordpress and site won’t openHi @kmyanda.
From the link you shared, we deduce that you are working on a localhost.
What I recommend is to check that the localhost is activeForum: Fixing WordPress
In reply to: http error in image uploadingHi @vitragproductions,
Could you be more specific about what kind of error you are experiencing?Hello @ehrehr;
I don’t know how the CSS of your site is structured.
You can try entering the code in b3c8c1.css file. If it doesn’t work you can remove the code and everything will come back as before. The important thing is that you insert it in a CSS that is read in all the pages. Let me know if the problem will be solved.
Andrea VegliaForum: Plugins
In reply to: [Word Filter Plus] Is this plugin dead?yes, for the past 6 years!
Hello @pavloborysenko,
Even by changing the .htaccess?Hello,
Thank you for your reply. I will explain myself better. I need to remove the parameters in GET. Now, when I when filter, for exemple, by category “child”, the URL will resulthttps://nameofsites.com/shop/?swoof=1&product_cat=child
. I’d like it to become:
https://nameofsites.com/shop/category/child
. This for all filter. Is there any possibility of making these changes? Thank you.
Andrea Veglia- This reply was modified 5 years, 11 months ago by Andrea Veglia.
- This reply was modified 5 years, 11 months ago by Andrea Veglia.
Forum: Plugins
In reply to: [Asgaros Forum] How to get a notification whenever someone repliesI solved it with the following code:
I went in: /wp-content/plugin/asgaros-forum/includes/forum-content.php
At line 286 there is the code for inserting, in database, the replies (POST). So, I add the following code in PHP. Send an email for each entry of a new post.
The section ” //Inserts a new post. ” became –>
// Inserts a new post. public function insert_post($topic_id, $forum_id, $text, $author_id = false, $uploads = array()) { // Set the author ID. if (!$author_id) { $author_id = $this->asgarosforum->permissions->currentUserID; } // Get the current time. $date = $this->asgarosforum->current_time(); // Insert the post. $this->asgarosforum->db->insert($this->asgarosforum->tables->posts, array('text' => $text, 'parent_id' => $topic_id, 'forum_id' => $forum_id, 'date' => $date, 'author_id' => $author_id, 'uploads' => maybe_serialize($uploads)), array('%s', '%d', '%d', '%s', '%d', '%s')); // Return the ID of the inserted post. $post_id = $this->asgarosforum->db->insert_id; // Var email send - CUSTOM $site_url = get_home_url(); $user_info = get_userdata($author_id); $user_info_name= $user_info->user_login; $user_slug = $user_info->user_nicename; $user_info_link = $site_url.'/forum/profile/'.$user_slug; $post_id = $this->asgarosforum->db->insert_id; $link_url = $site_url.'/forum/topic/'.$topic_id.'/?highlight_post='.$post_id.'#postid-'.$post_id; $body = "<h2> New replies </h2> <p> <strong> Author </strong> <a href='$user_info_link'>$user_info_name</a>; </p> <p> <strong> Text: </strong> $text; <p> <strong> Date: </strong> $date; <h4> Link: </h4> <p> <a href='$link_url'>$link_url</a></p>"; $headers = array('Content-Type: text/html; charset=UTF-8'); // Send email - CUSTOM return wp_mail( "INSERT_YOUR_EMAIL", "YOUR_SUBJECT_HERE", $body, $headers ); }
“INSERT_YOUR_EMAIL” –> you have to insert your email;
“YOUR_SUBJECT_HERE” –> you have to insert the subject of email;The code will work only if you have set the name of the forum page as “forum” (and permalink “forum”).
Hi @ehrehr,
Try to add to your CSS this code:.page-template { overflow: hidden; }
If this does not work:
.page-template { overflow: hidden!important; }
Let me know if the problem is solved!
Forum: Fixing WordPress
In reply to: Changing Hyperlink color – not visible hyperlinkTry to insert this in CSS:
.main-container a { color: #0000FF!important; }
should solve the problem, if I understand what you mean:
https://ibb.co/xL2vBsFForum: Plugins
In reply to: [TI WooCommerce Wishlist] Customize Wishlist Page URL// Pagina Wishlist (CUSTOM)// /* * Step 1. Add Link to My Account menu */ add_filter ( 'woocommerce_account_menu_items', 'wish_link', 40 ); function wish_link( $menu_links ){ $menu_links = array_slice( $menu_links, 0, 5, true ) + array( 'wishlist' => 'Whishlist' ) + array_slice( $menu_links, 5, NULL, true ); return $menu_links; } /* * Step 2. Register Permalink Endpoint */ add_action( 'init', 'wish_add_endpoint' ); function wish_add_endpoint() { // WP_Rewrite is my Achilles' heel, so please do not ask me for detailed explanation add_rewrite_endpoint( 'wishlist', EP_PAGES ); } /* * Step 3. Content for the new page in My Account, woocommerce_account_{ENDPOINT NAME}_endpoint */ add_action( 'woocommerce_account_wishlist_endpoint', 'wishlist_my_account_endpoint_content' ); function wishlist_my_account_endpoint_content() { echo do_shortcode('[ti_wishlistsview]') ; }
Try with this for add the shortcode in “my account” page. You have to insert it in funtion.php
- This reply was modified 6 years, 1 month ago by Andrea Veglia.
Forum: Reviews
In reply to: [Coupon Box for WooCommerce] It worksHola mauricio.
It works, but the plugin has some bugs. For example, recaptcha doesn’t exist, and the plugin is not meant to be used with GDPR. I hope that these bugs will be fixed.