Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter sjaakspaak

    (@sjaakspaak)

    P.S. I changed the site adress back to https://www.guesthouse-recover.com/wordpress just to make it work for now. This is just a temporary fix though. I think it looks ugly and unprofessional to have ‘wordpress’ standing in the adress bar all the time.

    Thread Starter sjaakspaak

    (@sjaakspaak)

    I use the Architect theme. It has an options panel for uploading a custom logo, which I did. But no option to change the link for it anywhere in the menu.

    Thread Starter sjaakspaak

    (@sjaakspaak)

    My permalinks structure is still: https://wwww.guesthouse-recover.com/%postname%/

    Should I perhaps change this to: https://wwww.guesthouse-recover.com/wordpress/%postname%/ ,or would this crash the entire thing? ??

    Thread Starter sjaakspaak

    (@sjaakspaak)

    Hi adeline,

    Thanks for your reply ?? When I installed WordPress, I did it the exact way “Giving WordPress its own directory” says.

    I installed WordPress in root/wordpress/ and changed my general settings to:

    – WordPress adress: https://www.guesthouse-recover.com/wordpress
    – Site adress: https://www.guesthouse-recover.com

    This is correct, right?

    I’m afraid that if I change it I will get the infamous blank screen and having to drop the database (I remember other websites doing this in the past)

    I also changed
    require( dirname( __FILE__ ) . '/wp-blog-header.php' );
    to
    require( dirname( __FILE__ ) . '/wordpress/wp-blog-header.php' );
    in the index.php in my root folder and created the .htaccess file in the root folder when I installed WordPress.

    Kind sir,

    Would you PLEASE be my hero and point me where I can change this in my theme? I’ve been looking for it for HOURS, but I can’t seem to find it. I hope you are willing to help me ??

    My website adress is: https://www.guesthouse-recover.com

    This is the code from my header.php

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    	<meta charset="UTF-8">
    	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    
    	<?php $marker = get_field('google_map_marker', 'options');
    		if(isset($marker['url'])){
    			$marker = $marker['url'];
    		}
    	 ?>
    
    	<script>
            var template_directory = "<?php echo get_template_directory_uri(); ?>";
            var ajax_url = "<?php echo admin_url('admin-ajax.php'); ?>";
            var postId = "<?php echo (isset($post->ID)) ? $post->ID : 0 ; ?>";
            var marker_img = "<?php echo esc_url($marker);?>";
        </script>
    
    	<?php
    	if ( ! function_exists( '_wp_render_title_tag' ) ) {
    		function architect_render_title() {
    	?>
    	<title><?php wp_title( '|', true, 'right' ); ?></title>
    	<?php
    		}
    		add_action( 'wp_head', 'architect_render_title' );
    	}
    	?>
    
    	 <!-- Css -->
        <?php if(get_field('custom_css', 'options')){ ?>
        	<style>
        		<?php the_field('custom_css', 'options'); ?>
        	</style>
    	<?php } ?>
    
    	<?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?> >
    
    	<!-- Loader -->
    	<?php if(get_field('enable_preloader', 'options')){ ?>
    	<div id="loader">
    		<div class="outer">
    			<div class="inner text-center middle">
    			<?php if($preload_logo = get_field('preloader_logo', 'options')){ ?>
    				<img src="<?php echo esc_url($preload_logo); ?>" alt="<?php bloginfo('name'); ?>" /><br>
    			<?php } ?>
    				<ul class='loader'>
    				  <li class='one' style="background: <?php the_field('one', 'options')?>"></li>
    				  <li class='two' style="background: <?php the_field('two', 'options')?>"></li>
    				  <li class='three' style="background: <?php the_field('three', 'options')?>"></li>
    				  <li class='four' style="background: <?php the_field('four', 'options')?>"></li>
    				  <li class='five' style="background: <?php the_field('five', 'options')?>"></li>
    				</ul>
    			</div>
    		</div>
    	</div>
    	<?php } ?>
    
    	<?php get_template_part('menu'); ?>

    Thanks in advance ??

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