Forum Replies Created

Viewing 15 replies - 541 through 555 (of 786 total)
  • Hi mohammedsidik,
    Instead of creating a page with image and assign a page permalink, you should loop through all your post or custom-post(whatever you are using).
    Inside the loop fetch post’s feature image and link it to post’s permalink.
    Hope this will solve your purpose.
    Thanks

    Hello payaltanna,
    Create a js file named as “replace-class.js” and put in js folder within assets folder .
    Now add this code in “replace-class.js” file .

    jQuery(document).ready(function($){
    $('.container').addClass('container-fluid').removeClass('container');
    });

    Now add this code in theme functions.php file

    function themes_scripts() {
    wp_enqueue_script( 'replace-class', get_template_directory_uri().'/assets/js/replace-class.js', '', '', true );
    }
    add_action( 'wp_enqueue_scripts', 'themes_scripts' );

    Hope this will be helpful.
    Thanks

    As you said you created a new directory inside the wp-content/themes (extracted the themes zip file there), now you need to go to the “Appearance” section inside the themes (wp-admin/themes.php) you see the theme name you extracted in the themes directory, when you mouse over on that theme you see at the bottom right corner a button named “Activate” by pressing this button the theme will be activated if everything is ok.

    Thanks.

    Hello jpkapinha,
    Add the following code in your subdomain and domain .htaccess file:

    # BEGIN HTTPS
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    # END HTTPS

    Hope this will be helpful.

    Before installing any plugin it is always recommended to check its WordPress compatibility and php version compatibility. If you have done this, you might at the safe side. But…
    Now you please try to install the plugin one by one. This is the only way to find out the buggy one.
    Thanks

    Forum: Fixing WordPress
    In reply to: Using Redirect API

    Hi gunnerman1,
    Please check if the plugin provides you setting on settings->permalink section. If is it so you can customize it directly from here.
    Can you please provide link of your site , so I can understand the scenario more clearly.
    Thanks

    Hi, The issue might be because your ISP or web host has a proxy that requires the page to finish loading within a specific amount of time. Or any of your plugin is causing this. You can try to increase the PHP Maximum Execution Time also. If issue persists, contact your web host. It is possible that 504 error is due to an issue on their end that they will need to resolve.

    Hello,

    The problem is because your wp-content directory is not writable by user running php most of the time its apache, please set write permission to apache user or group so that php can write or create folder for you.

    This might look complicated to you so there is a relatively easy way 😉 directly extract the theme into the wordpress > wp-content > themes folder with help of any ftp client like filezilla and later activate it from admin panel, Appearance > Themes 🙂

    Hope this will solve your problem.

    Thanks.

    Hello Paul,
    If you’ve followed the instructions one by one for multisite creation.
    Then it’s possible that you’ve created a network and if network is created then there will not be Tools > Network Setup option in admin options.
    Login to your dashboard and mouseover at the “My Sites” link(if network is created it should be present beside the WordPress sign)
    and you’ll see at least two options, one is “Network Admin” and second one is your previous site title.
    Also you can see under the dashboard menu there should be an option of “My Sites”. If these options are present, it means you’ve created a multisite network.
    Now for creating multisites click on the My Sites(at the admin bar) > Network Admin > Sites link and the click on Add New. Fill up the fields and click on Add Site.
    But if these options are not present, then remove the wp-config.php and .htaccess code
    and follow the instructions given here: https://codex.wordpress.org/Create_A_Network

    There is already a unique class available with current page item named “current_page_item” but if you want to add your own class for all pages or current page then you have to use Walker to achieve this.

    Hello abian9,
    Please add css body.custom-background { background-size: cover; }
    Thanks

    Forum: Fixing WordPress
    In reply to: Remove white space

    Hi frazerli28,
    You can override inline css, just inherit from the wrapper div.
    .entry-content #pl-46 #pg-46-7 {
    margin-bottom: 0;
    }

    This will reduce your white space gap.
    Put the code in style.css of your theme.
    Thanks

    Hi RonnieT,
    As you said there are several sites … so if others are running but one is not, that means downgrading is not a problem.
    But somewhere its the cause of problem. Reason might be, in the site that is running, there is a plugin which not support php 5.5
    I think you stuck in reverse of your problem this time.
    Thanks

    This code works for both logged in and non logged in users, it looks like this is customized admin bar added by theme, can you please let me know which theme you’re using ?
    Thanks.

    Hello,

    just place this short of code inside your activated themes functions.php

    add_action('after_setup_theme', 'hide_admin_bar');
    
    function hide_admin_bar() {
    if (!current_user_can('administrator') && !is_admin()) {
      show_admin_bar(false);
    }
    }

    Thanks.

Viewing 15 replies - 541 through 555 (of 786 total)