Forum Replies Created

Viewing 15 replies - 16 through 30 (of 49 total)
  • Thread Starter Julien777

    (@julien777)

    Okay ??

    I don’t want the text to be shown somewhere else. I just want it to be displayed in bold where it is.

    I have tried to add some HTML tags at line 126, and I could see it did not work. You told about CSS, maybe this is what I need and I don’t know it very well.

    But if you confirm CSS is the solution I am looking for, I am gonna figure out something ??

    Thread Starter Julien777

    (@julien777)

    Here is a screenshot : https://www.havredepeau.com/wp-content/uploads/2016/02/In%20Bold.jpg

    It’s in french, so note that we are on the shipping adress form.

    Julien

    Thread Starter Julien777

    (@julien777)

    Hi Mike,

    it’s not above the checkout, it’s “in” the checkout process :

      The file is that one : wp-content/plugins/woocommerce/includes/class-wc-checkout.php
      The line is 126 : “‘placeholder’ => _x(‘Message personnel à inscrire sur le(s) bon(s) cadeau(x) / Notes concernant la livraison‘, ‘placeholder’, ‘woocommerce’)”

    . It’s in the text-area where customers can add shipping notes.

    What I put in bold in this post, is what I want to be in bold on the checkout page.

    Am I clear enough ?

    Julien

    Thread Starter Julien777

    (@julien777)

    Daniel, don’t bother checking my .htaccess.
    I checked wit the hosters, they changed something (I don’t know what but it’s better now).

    Thanks for your replies, and the plugin is awesome ??

    Julien

    Thread Starter Julien777

    (@julien777)

    Ok. Here is the .htaccess content :

    # BEGIN iThemes Security – Do not modify or remove this line
    # iThemes Security Config Details: 2
    # Enable the hide backend feature – Security > Settings > Hide Login Area > Hide Backend
    RewriteRule ^(/)?connexion/?$ /wp-login.php [QSA,L]

    # Protect System Files – Security > Settings > System Tweaks > System Files
    <files .htaccess>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order allow,deny
    Deny from all
    </IfModule>
    </files>
    <files readme.html>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order allow,deny
    Deny from all
    </IfModule>
    </files>
    <files readme.txt>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order allow,deny
    Deny from all
    </IfModule>
    </files>
    <files install.php>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order allow,deny
    Deny from all
    </IfModule>
    </files>
    <files wp-config.php>
    <IfModule mod_authz_core.c>
    Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    Order allow,deny
    Deny from all
    </IfModule>
    </files>

    # Disable Directory Browsing – Security > Settings > System Tweaks > Directory Browsing
    Options -Indexes

    <IfModule mod_rewrite.c>
    RewriteEngine On

    # Protect System Files – Security > Settings > System Tweaks > System Files
    RewriteRule ^wp-admin/includes/ – [F]
    RewriteRule !^wp-includes/ – [S=3]
    RewriteCond %{SCRIPT_FILENAME} !^(.*)wp-includes/ms-files.php
    RewriteRule ^wp-includes/[^/]+\.php$ – [F]
    RewriteRule ^wp-includes/js/tinymce/langs/.+\.php – [F]
    RewriteRule ^wp-includes/theme-compat/ – [F]

    # Disable PHP in Uploads – Security > Settings > System Tweaks > Uploads
    RewriteRule ^wp\-content/uploads/.*\.(?:php[1-6]?|pht|phtml?)$ – [NC,F]

    # Filter Request Methods – Security > Settings > System Tweaks > Request Methods
    RewriteCond %{REQUEST_METHOD} ^(TRACE|DELETE|TRACK) [NC]
    RewriteRule ^.* – [F]

    # Reduce Comment Spam – Security > Settings > System Tweaks > Comment Spam
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} /wp-comments-post\.php$
    RewriteCond %{HTTP_USER_AGENT} ^$ [OR]
    RewriteCond %{HTTP_REFERER} !^https?://(([^/]+\.)?havredepeau\.com|jetpack\.wordpress\.com/jetpack-comment)(/|$) [NC]
    RewriteRule ^.* – [F]
    </IfModule>
    # END iThemes Security – Do not modify or remove this line

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Thread Starter Julien777

    (@julien777)

    Hello Daniel,

    Site and home URL seem well set. If you can understand anything in a wp-cron.php, here is mine :

    <?php
    /**
    * WordPress Cron Implementation for hosts, which do not offer CRON or for which
    * the user has not set up a CRON job pointing to this file.
    *
    * The HTTP request to this file will not slow down the visitor who happens to
    * visit when the cron job is needed to run.
    *
    * @package WordPress
    */

    ignore_user_abort(true);

    if ( !empty($_POST) || defined(‘DOING_AJAX’) || defined(‘DOING_CRON’) )
    die();

    /**
    * Tell WordPress we are doing the CRON task.
    *
    * @var bool
    */
    define(‘DOING_CRON’, true);

    if ( !defined(‘ABSPATH’) ) {
    /** Set up WordPress environment */
    require_once( dirname( __FILE__ ) . ‘/wp-load.php’ );
    }

    /**
    * Retrieves the cron lock.
    *
    * Returns the uncached doing_cron transient.
    *
    * @ignore
    * @since 3.3.0
    *
    * @return string|false Value of the doing_cron transient, 0|false otherwise.
    */
    function _get_cron_lock() {
    global $wpdb;

    $value = 0;
    if ( wp_using_ext_object_cache() ) {
    /*
    * Skip local cache and force re-fetch of doing_cron transient
    * in case another process updated the cache.
    */
    $value = wp_cache_get( ‘doing_cron’, ‘transient’, true );
    } else {
    $row = $wpdb->get_row( $wpdb->prepare( “SELECT option_value FROM $wpdb->options WHERE option_name = %s LIMIT 1”, ‘_transient_doing_cron’ ) );
    if ( is_object( $row ) )
    $value = $row->option_value;
    }

    return $value;
    }

    if ( false === $crons = _get_cron_array() )
    die();

    $keys = array_keys( $crons );
    $gmt_time = microtime( true );

    if ( isset($keys[0]) && $keys[0] > $gmt_time )
    die();

    // The cron lock: a unix timestamp from when the cron was spawned.
    $doing_cron_transient = get_transient( ‘doing_cron’ );

    // Use global $doing_wp_cron lock otherwise use the GET lock. If no lock, trying grabbing a new lock.
    if ( empty( $doing_wp_cron ) ) {
    if ( empty( $_GET[ ‘doing_wp_cron’ ] ) ) {
    // Called from external script/job. Try setting a lock.
    if ( $doing_cron_transient && ( $doing_cron_transient + WP_CRON_LOCK_TIMEOUT > $gmt_time ) )
    return;
    $doing_cron_transient = $doing_wp_cron = sprintf( ‘%.22F’, microtime( true ) );
    set_transient( ‘doing_cron’, $doing_wp_cron );
    } else {
    $doing_wp_cron = $_GET[ ‘doing_wp_cron’ ];
    }
    }

    /*
    * The cron lock (a unix timestamp set when the cron was spawned),
    * must match $doing_wp_cron (the “key”).
    */
    if ( $doing_cron_transient != $doing_wp_cron )
    return;

    foreach ( $crons as $timestamp => $cronhooks ) {
    if ( $timestamp > $gmt_time )
    break;

    foreach ( $cronhooks as $hook => $keys ) {

    foreach ( $keys as $k => $v ) {

    $schedule = $v[‘schedule’];

    if ( $schedule != false ) {
    $new_args = array($timestamp, $schedule, $hook, $v[‘args’]);
    call_user_func_array(‘wp_reschedule_event’, $new_args);
    }

    wp_unschedule_event( $timestamp, $hook, $v[‘args’] );

    /**
    * Fires scheduled events.
    *
    * @ignore
    * @since 2.1.0
    *
    * @param string $hook Name of the hook that was scheduled to be fired.
    * @param array $args The arguments to be passed to the hook.
    */
    do_action_ref_array( $hook, $v[‘args’] );

    // If the hook ran too long and another cron process stole the lock, quit.
    if ( _get_cron_lock() != $doing_wp_cron )
    return;
    }
    }
    }

    if ( _get_cron_lock() == $doing_wp_cron )
    delete_transient( ‘doing_cron’ );

    die();

    Thread Starter Julien777

    (@julien777)

    You are right. So weird to put that there ??

    Glad it worked.

    Julien

    Thread Starter Julien777

    (@julien777)

    Hi GrandPappyofFunk,

    yes i remember. I found the option in my theme customization options.
    Appearence/Customize/Icon and I got the shop title at the bottom of it.

    Let me know how it works for you.

    Julien

    Thread Starter Julien777

    (@julien777)

    That’s resolved.
    A tiny option is existing in the theme customizing page.
    I close the topic.

    Thread Starter Julien777

    (@julien777)

    I would love it to be so easy …
    It just doesn’t work Lorro.
    The title of the page in the WordPress “Pages list” is “Boutique”.
    But as you can see on the site, “The Shop” is still displayed.

    Julien777

    (@julien777)

    Hello,

    Something I noticed about the rights on file wp-content/uploads/index.php created by the plugin :
    It puts the rights at “0124” for this file only. Consequently, the file is not readable and a warning message coming from my Backup plugin is generated.

    It doesn’t sounds serious as everything is working well. But I guess that the rights “0124” should not be. Right ?

    Julien

    Thread Starter Julien777

    (@julien777)

    Hi Bet, thanks for considering my request ??

    I managed to resolve it. It was because of one of iTheme Security settings in the System Tweaks section.
    I had to disable the line Filter Non-English Characters.

    As far as I understand, a query on multiple articles, pages or whatever can be the items, generates such a complicated URL that iTheme Security considers it as irrelevant. I am thinking to characters like “%” as an example.

    Now that it’s disabled, my WordPress installation works fine … so far ??

    You can consider the topic is resolved. I am happy you got in touch in order for me to spread the solution ??

    Have a nice day,

    Julien

    Thread Starter Julien777

    (@julien777)

    I got it !! ??

    The guilty one is indeed iThemes Security :
    In section Settings/System Tweaks, line Filter Non-English Characters. If that box remains unchecked, then the multiple post editing is working ??

    Thanks for your help guys ! You put me on the right way ??

    Julien

    Thread Starter Julien777

    (@julien777)

    Dear Tara,
    I first tried to re-install WordPress through the update menu. It did not work. Then I tried what WPyogi has suggested and deactivated iThemes Security and tadaaa : the posts multiple editing worked.

    So I know where I have to explore.

    Thank you guys :). I might post whatever I find useful for the community related to that topic. Glad you answered so fast.
    If you want to close the topic it’s fine for me.

    Have a nice day,
    Julien

    Thread Starter Julien777

    (@julien777)

    Hi Jamie,
    my pleasure.

    One more thing, may I offer you a coffee ?
    Sorry it’s not the topic.

    Julien

Viewing 15 replies - 16 through 30 (of 49 total)