Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Hi ajayrocker199
    There are so many ways of doing this. Im not sure what your level of experience is, but yo could either build a form from scratch or you could use Contact Form 7. Its a great plugin that just uses shortcodes and you can have as many forms as you like, for free!

    If you want to go down the development route, let me know and I can help you out with the code

    Hi There
    This error usually occurs due to a conflict with a plugin and the WordPress core. Try disabling all plugins and see if the error persists. Other than that you would need to give me a bit more information as to what you were doing when the error occured

    Hey zlando

    Sometimes when moving hosts, especially with different host-names, you need to make sure you’ve run a find and replace in your database. There’s usually two things you need to change right away. home and site_url which you can find in the wp_options table.

    You would also need to make sure that your post_meta has been updated from the old URL to the new URL.

    Here’s the SQL query you can use if you’re using phpMyAdmin for instance:

    UPDATE wp_posts SET post_content = REPLACE(post_content, ' https://israel-host.com/', ' https://www.healingtrauma.co.il');

    Once you’ve done that, you need to make sure that your re-save your permalink structure in Settings > Permalinks. Your broken links should rectify after that!

    Forum: Localhost Installs
    In reply to: local host down

    What are you using? MAMP? LAMP? XAMP? Vagrant? You can try restarting your computer or the program itself. Alternatively you may have a database error or you may need to restart apache.

    Depending on your theme, you may have certain links to hosted versions of jQuery and/or Google Fonts, even though your installation is on your computer, outbound links to hosted versions still require the internet. This may cause a delay in load time. For local development try as much as you can to use local files. This will help load time a lot!

    Hi there Mousa-iebs,

    Your first question:
    You would need to add a div around the following two divs:

    <div style="width:450px; float:left">
      <div style="width: 250px; float: left">

    The give it a width: auto and margin: 0 auto – should center it for you with ease ??

    If you want the footer smaller then I’d remove the margin-top and margin-bottom classes that have been allocated to the footer__widget-areas div in the <footer> you should find that in the footer.php

    Good luck!

    Could you explain what it is you’re trying to do from a functionality point of view on the required page that needs to be blank? Maybe theres another way around this

    Hmmm,

    Okay – one of the databases in phpMyAdmin will have the necessary data.
    When you delete the wordpress files off your server it doesnt delete the database.

    I dont think your files are the problem here, its just a database connection – do you get an error message when you look at your home url? ie. https://www.yourdomain.com

    Did you create a new PHP file?

    Make sure the comment is within the php tags:

    <?php
    
    /*
    
    *
    * Template Name: Blank
    *
    */
    
    //code goes here

    Could you provide a little more detail? Did you buy the WordPress theme or are you building it from scratch?

    All looks fine to me? Your images dont seem to be linked though?

    Hey Hugh

    In cPanel check if you can still access phpMyAdmin – you’ll need to know your database name, username and password.

    Copy all the files back onto your server and make sure the database details are the same as before in wp-config.php

    You shouldnt run into too many problems, biggest thing is the database as that is where the settings are stored.

    Did you install throught Softacolous?

    Hey Turgun
    This has happened to me a few times. It can be caused by corrupted data being sent to MySQL

    Try re-installing WordPress from “Updates” – or in the worst case scenario try export your database in PHPmyadmin and import it to a new WordPress installation to see if it works

    See here for a guided tutorial

    https://www.wpbeginner.com/wp-tutorials/how-to-move-wordpress-from-local-server-to-live-site/

    Hi Marion

    I can see what you’re trying to do, however, this might cause some problems in your development. Ideally you could create a page-template called “Home” and then add the markup there. Its not considered very good practice to include static HTML in your dynamic files as WordPress will struggle and/or simply will not be able to find links to images and scripts / css.

    The real question you have to ask yourself is: Do you want this content to be dynamic?

    At the very least, you should use the <?php echo get_stylesheet_directory_uri() ?> so that WordPress can find your files relative to the style.css

    Does that make sense?

    If I understand you correctly.

    Just create a php file in your theme directly called “pagename-template.php”
    Replacing “pagename” with what you want it to be like “about” or “blank” etc

    In your PHP file – simply put the following at the top of your file in comments:

    /*

    *
    * Template Name: Blank
    *

    */

    Include your header and footer functions and The Loop if you want to use the WSIWIG editor on the “Edit Page” page if need be.

    Then go create a new page in the WordPress Dashboard and you’ll notice a template section under the Page Attributes box on the left with the title “Templates” and a dropdown, you’ll see “Blank” as a selectable item there from now on.

    Happy coding!

Viewing 15 replies - 1 through 15 (of 15 total)