Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter willmadd

    (@willmadd)

    I’ve been experimenting with the line of code you provided. That line of code means the map will only appear on first level categories e.g https://www.curiousatlas.com/europe and not second level e.g curiousatlas.com/europe/switzerland

    I also really need the ability to use a different map for each category – which <?php print do_shortcode('[codepeople-post-map]'); ?> dosn’t allow me to do.

    One further thing that happens, on the first level categories the map displays, but then if I add shortcode for my map in into the page as well, then the all maps disappear,

    Any ideas?

    Many thanks

    William

    Thread Starter willmadd

    (@willmadd)

    Hi,

    I still can’t seem to get it to show. My current theme usese index.php to display it’s categories pages. I’ve included the php from my index.php file below with the <?php print do_shortcode('[codepeople-post-map]'); ?> inserted, but they still won’t show,

    Any ideas? Thanks in advance for your help,

    Kind regards

    William

    
    
    <?php get_template_part('templates/page', 'head'); ?>
    <?php if($pageTitle = ct_get_option('posts_index_page_title', '')):?>
    	<div class="patBlue">
    		<div class="container">
    			<h1 class="twoLines"><span><?php echo $pageTitle; ?></span></h1>
    		</div>
    	</div>
    <?php endif;?>
    <div class="patStd">
    	<div class="container">
    		<div class="row-fluid">
    
    //this is the line to display category description category page
    
    <?php echo category_description( $category_id ); ?> 
    <?php print do_shortcode('[codepeople-post-map]'); ?>
    
    			<?php if(is_404()):?><div class="span9"><?php else:?><div class="<?php ct_blog_index_class()?>"><?php endif;?>
    				<!-- blog left -->
    				<div class="rightPadd20">
    					<?php get_template_part('templates/content', get_post($post)?get_post_format():false); ?>
    				</div>
    				<!-- blogContainer -->
    			</div>
    			<?php if(ct_use_blog_index_sidebar()):?>
                    <div class="<?php roots_sidebar_class(); ?>">
    					<?php get_template_part('templates/sidebar'); ?>
    				</div>
    			<?php endif;?>
    		</div>
    		<!-- row-fluid -->
    	</div>
    </div>
    
    
    Thread Starter willmadd

    (@willmadd)

    That’s perfect! Just what I was after! Thanks for your help!

    Thread Starter willmadd

    (@willmadd)

    Hi Thanks for getting in touch.

    The image i’ve uploaded doesn’t appear in the points definition’s section. I’ve uncovered a further clue as well, if I put the address in the bar of one of the pre loaded points

    (e.g https://79.170.40.163/curiousatlas.com/wp-content/plugins/codepeople-post-map/images/icons/home.png)

    into my browsers bar i can see the image but if I put one url of one of my uploaded points into my browser’s URL then I get a ‘this page can not be displayed’

    https://79.170.40.163/curiousatlas.com/wp-content/plugins/codepeople-post-map/images/icons/curiousatlas.png

    I’ve double checked and triple checked the spellings and that they are in the correct location, and the custom icon’s are definitely in the correct location,

    Do you have any ideas?

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