Forum Replies Created

Viewing 15 replies - 61 through 75 (of 3,259 total)
  • RossMitchell

    (@rossmitchell)

    To my eye it seems that the problem yet to be addressed is that the browser redirects ALL addresses to localhost.
    Suggest that you look at a core apache2 configuration file, probably a file with a location like:
    /etc/apache2/sites-enabled
    There will be various configuration blocks like for example:

    <VirtualHost *:80>
    DocumentRoot /var/www/wpB
    ServerName wpB.local
    ServerAlias www.wpB.local
    </VirtualHost>

    My guess is that an overly general block is directing all traffic to your WordPress server.

    RossMitchell

    (@rossmitchell)

    Suggest accessing your wp-config.php file using your website hosting management file manager. First download a backup copy. Then make your edits.
    DO NOT make a .bak file as a backup, it could be accessed by 3rd parties, instead name your backup something like wp-configBAK21-04-28.php
    having a .php suffix protects 3rd parties from accessing it.

    RossMitchell

    (@rossmitchell)

    Google translate from Portuguese:

    Guys, I’m sorry if you’re not on the right topic. In woocommerce, when an item is added to the cart on mobile, I can’t delete it. If you have more than one item, I can delete the others, but the first item does not. This is only happening when you are on mobile. The theme I’m using in wordpress is Twenty Twenty-One.

    Suggest that you ask in the woocommerce support section.

    Sugira que você pergunte na seção de suporte woocommerce.

    RossMitchell

    (@rossmitchell)

    You need to do more than just copy the files and database.
    This is an article on moving WordPress:

    Moving WordPress

    There is a plugin called DUPLICATOR that helps with this.

    Once you have the site moved, suggest that you load the PHP compatability checker plugin:
    https://wordpress.org/plugins/php-compatibility-checker/

    RossMitchell

    (@rossmitchell)

    Try adding this additional CSS:

    .nav-header .genesis-nav-menu a {
        padding: 20px 10px 20px 10px;
    }

    This will only change your top menu.

    RossMitchell

    (@rossmitchell)

    I think you are looking for this setting:
    Dashboard > Settings > Reading
    There is a tickbox for: ” Search Engine Visibility ”

    There is also your robots.txt file which you should also configure.

    RossMitchell

    (@rossmitchell)

    I would do this by creating a shortcode, either in a new plugin, or in the functions.php of a child theme, it must be a child theme.
    (It could also be done as inline code in a custom page template in a child theme.)

    First off I would experiment with one of the WordPress form generators / managers, and get the HTML involved in making a form, how the submit and cancel buttons are done, how prompts and default fields are done. This will give you the HTML that your shortcode will create and fill in.

    Then in the shortcode function, fetch the names etc that you need from the profile etc. Then create the HTML that makes up your complete form, this is what the shortcode function returns. It is a serious error to have the shortcode fn echo anything. Be sure to enclose the form in a distinct class so that you can target the css that styles the form and fields etc.

    Then put the css that styles your form into the Customizer > Additional CSS

    Details on shortcodes:
    https://codex.wordpress.org/Shortcode_API

    RossMitchell

    (@rossmitchell)

    Yes, your plan to develop a new website which functions like the old one looks quite realistic.

    RossMitchell

    (@rossmitchell)

    A few things to consider:
    – My cPanel all set PHP version on a hosting wide basis, maybe your support can help you with this. So I suggest using localhost or even different hosting.
    – Maybe upgrade to intermediate versions of PHP in several steps, say to 5.6 which is widely used and substantially compatible, then ver 7.0 or 7.2
    – There is a plugin that checks PHP compatibility:
    https://wordpress.org/plugins/php-compatibility-checker/
    suggest using it to find your hot spots.
    – Many of your plugins and theme will have been updated and available in 7.4 compliant code. Others may have been abandoned and you will either have to upgrade them yourself or replace their functionality.
    – Which version of WordPress are you running ? This is available from the variable “$wp_version” in file: “wp-includes/version.php”
    In upgrading your WordPress various issues may arise including that your Javascript version will also get updated. One school of thought advises to upgrade is stages.
    See “Upgrading Across Multiple Versions” in:

    Upgrading WordPress – Extended Instructions

    RossMitchell

    (@rossmitchell)

    Your theme adds the class “home” to the body element of your homepage. Hence if you prefix your css that moves your video widget with “.home “, then it will only be applied to your homepage.

    Maybe a better way is to create a child theme and then create there a customised page template that is only used by your homepage.

    RossMitchell

    (@rossmitchell)

    Suggest that you save one of your pages that shows this, save it as .html and then submit it to one of the online HTML syntax validator / checkers.

    RossMitchell

    (@rossmitchell)

    You can only set cookies BEFORE any page output is output.
    HENCE your “HELLO WORLD!” is truly shooting yourself in the foot. More literately it is amputating your leg at the knee.
    If you need to make sure that your function is getting invoked, do something else like setting an option in the database, or set an value in a global and display it in your page somehow.
    Other causes of the “headers already sent” are theme files with a surplus carriage return after a close PHP phrase.

    RossMitchell

    (@rossmitchell)

    WordPress usually constructs its menus using UnorderedList (ul) wrapping the ListItems (li) entries. You would need to look into your theme and WordPress code to see how they could be changed. On the other hand you could use a filter to remodel the html.
    The default browser rendering of ul and li is as a vertical list with bullet points, this is readily modified, browse any theme to see how.

    RossMitchell

    (@rossmitchell)

    As well as the files of your localhost website, you also need the database, you may be able to find and recover it. Strictly speaking this is not a WordPress issue, I suggest that you seek the support from whichever localhost dev environment you were using ? xampp, etc ???

    RossMitchell

    (@rossmitchell)

    This aupport article has the details:

    Upgrading WordPress – Extended Instructions

    In brief:
    – Make a backup of your present website files and database.
    Follow the instructions in the article
    – Then similarly update your themes and plugins.

Viewing 15 replies - 61 through 75 (of 3,259 total)