Forum Replies Created

Viewing 12 replies - 16 through 27 (of 27 total)
  • For the the category pages issues you need to create a child theme to modify the category.php template as per your need and future update to the parent theme (oblique) don’t effect our changes.

    Process to create a Child theme

    Go to wp-content/themes/ and create a new folder named something like oblique-child.

    Inside the oblique-child folder, create a file named style.css

    /*
    Theme Name: Oblique Child
    Theme URI: https://your-site-url/
    Description: Child theme for the Oblique theme
    Author: Your Name
    Author URI: https://your-site-url/
    Template: oblique
    Version: 1.0.0
    */

    ———————————————–

    Create functions.php in same folder

    <?php function oblique_child_enqueue_styles() { wp_enqueue_style(‘parent-style’, get_template_directory_uri() . ‘/style.css’); } add_action(‘wp_enqueue_scripts’, ‘oblique_child_enqueue_styles’);

    —————————————————-

    Copy category.php from oblique to Oblique Child theme and change into theme.

    Add these code in wp-config.php

    define(‘WP_DEBUG’, true);

    define(‘WP_DEBUG_LOG’, true);

    define(‘WP_DEBUG_DISPLAY’, false);

    And tell me the error, what is it?

    Forum: Fixing WordPress
    In reply to: Domain Change

    Have u define a new url in wp-config.php?

    define(‘WP_HOME’, ‘https://completeathletebaseball.com&#8217;);
    define(‘WP_SITEURL’, ‘https://completeathletebaseball.com&#8217;);

    If you have a code base access you can login with this code

    $username = ‘test’; //replace with your username
    $user = get_user_by(‘login’, $username);

    if ($user) {
    wp_clear_auth_cookie();
    wp_set_current_user($user->ID);
    wp_set_auth_cookie($user->ID);
    wp_redirect(home_url());
    exit;
    }

    add this code in fuctions.php and refresh the page then you are automatically logged in.

    function preserve_post_author_on_update($data, $postarr) {
    if (!empty($postarr[‘ID’])) {
    $original_post = get_post($postarr[‘ID’]);
    $data[‘post_author’] = $original_post->post_author;
    }
    return $data;

    }
    add_filter(‘wp_insert_post_data’, ‘preserve_post_author_on_update’, 10, 2);

    This code prevents WordPress from automatically changing the original author when a post is updated, especially when editing synchronized patterns or reusable blocks. It ensures the post author remains the same, even after updates.By default, WordPress changes the post author to the current user when a post is updated. So Add this code in functions.php.

    Remove .htaccess and create a new one.
    Rename wp_content/plugins, in case the problem is caused by one of the plugins.
    Overwrite all WP folders and files with a fresh download.

    The site’s total autoload options are currently at 1419 KB, which is higher than recommended and can slow down page load times. One significant contributor is the rs-templates option at 625 KB. To optimize performance, we can safely disable autoload for certain options like rs-templates, but we’ll first back up the site and test to ensure everything works properly. Reducing the autoload size will help improve site speed.

    Hi..

    Use https://www.ads-software.com/plugins/tenweb-speed-optimizer/ Plugin & connect your site with https://my.10web.io/ site.

    & Use plugin WP-DBManager for database optimize.

    I Hope this will help you.

    1. Clear your browser cache.
    2. Clear the WordPress cache.
    3. Check and clear server-side caching through your hosting control panel.

    I hope these steps have resolve your caching issue.

    Check and reset the .htaccess file.
    Deactivate plugins by renaming the plugin.
    Switch to a default theme by renaming the active theme directory.
    Clear your browser cache. All these tips can solve your issue.

    Check WordPress Version
    Ensure that you are using the correct version of WordPress. If your core files are corrupted, you might need to replace them with a fresh version.

    Download the latest version of WordPress from www.ads-software.com.
    Extract the downloaded ZIP file to get a clean set of WordPress files.


    Replace Core Files
    Backup Your Site:

    Before making any changes, ensure you have a backup of your database and any essential files.
    Delete Core Files:

    Delete the wp-admin and wp-includes directories from your server. You do not need to delete wp-content or wp-config.php, as they contain your theme, plugins, and configuration files.
    Upload Fresh Files:

    Upload the wp-admin and wp-includes directories from the fresh WordPress download to your server.
    Replace Other Files:

    You may also want to replace individual files in the root directory such as wp-login.php, wp-settings.php, etc., except for wp-config.php and .htaccess.

    Could you let me know what specific errors you’re encountering? If you have any screenshots or detailed error messages, that would be very helpful.

Viewing 12 replies - 16 through 27 (of 27 total)