Forum Replies Created

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter kashifamin

    (@kashifamin)

    Since I too am now using MAMP, you mentioned username. In the wp-config.php file, MAMP tells us to input the following settings:

    DB NAME: wordpress
    DB USERNAME: root
    DB Password: root
    DB Host: localhost

    Based on these details, I try and access the blog using the following URL from other machines:

    https://root.local:8888/wordpress/

    It doesn’t work as yet.

    Any suggestions please?

    Thread Starter kashifamin

    (@kashifamin)

    Thanks for the reply.

    I tried using MAMP and it did work. But I ran into the same problem (i.e. getting others to be able to see the blog on their machines).

    “look in ur mysql db which path is given for your wordpress installation.”

    Sorry for sounding slow, but where would I find this?

    Thread Starter kashifamin

    (@kashifamin)

    Thanks for this.

    You pointed me in the right direction. However, I found that it worked for me by placing the code in index.php just before the WordPress loop. This is what I did for reference:

    <?php // Welcome Text
    if ( is_home()
    ) { ?>

    My intro text….

    <?php } ?>

    Thread Starter kashifamin

    (@kashifamin)

    Thanks for the tips!
    (Sorry if I sound muddled, I am very new to WordPress and am a beginner with code!)

    Just to clarify my need, I have some text that introduces the website i.e. ‘welcome to our website…etc’ and a supporting image. I just want this text and image appear on the homepage first and all recent posts to appear beneath the text.

    Am I correct to be using the is_home() tag to achieve this?

    Is there another way?

Viewing 4 replies - 16 through 19 (of 19 total)