elfrieda
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: ow to attach payment method in wordpress websiteYou need to use a plugin like WooCommerce for an online store or WP Simple Pay for simple payment forms. After installing the plugin, you can configure it to connect with popular payment gateways like PayPal, Stripe, or Square.
you can try regenerating the Elementor CSS by going to Elementor > Tools and clicking on “Regenerate Files & Data.” Also, ensure that your WordPress and Elementor are updated to the latest versions
Forum: Fixing WordPress
In reply to: How to change permalink structure only for blog postsyou can try this code but be careful little mistake can break your site. i am experienced developer and implemented on this site [removed by moderator]
function custom_blog_post_permalink($permalink, $post) {
// Check if the post type is ‘post’
if ($post->post_type == ‘post’) {
// Build the new permalink structure
$new_permalink = home_url(‘/isola-di-govinda/’ . $post->post_name . ‘/’);
return $new_permalink;
}
// Return the default permalink for other post types
return $permalink;
}
add_filter(‘post_link’, ‘custom_blog_post_permalink’, 10, 2);function add_custom_rewrite_rules() {
add_rewrite_rule(‘^isola-di-govinda/([^/]+)/?’, ‘index.php?name=$matches[1]’, ‘top’);
}
add_action(‘init’, ‘add_custom_rewrite_rules’);- This reply was modified 3 months ago by Steven Stern (sterndata).
Forum: Fixing WordPress
In reply to: How to change permalink structure only for blog postsTo change the permalink structure for blog posts only, without using a plugin, you can achieve this by adding some custom code to your theme’s
functions.php
file.Forum: Fixing WordPress
In reply to: Fixing the social media icon shapesyou’ll need to adjust their CSS styles.
.social-icon-class {
width: 40px; /* Adjust size as needed / height: 40px; / Ensure width and height are equal for a circle / border-radius: 50%; / Makes the icon circular */
display: flex;
align-items: center;
justify-content: center;
}Forum: Fixing WordPress
In reply to: my image size is too small for mobilessame issue was facing on my website. to fix you can set a different image size or use custom CSS to ensure the image displays properly on mobile devices.
Forum: Fixing WordPress
In reply to: White screen in admin panelyou should clear your browser cache, and ensuring that your WordPress installation and plugins are up to date.