Reply To: Alignment With my Theme's Columns

Home Forums MapPress Support Alignment With my Theme's Columns Reply To: Alignment With my Theme's Columns

#9718
Chris
Keymaster

    Hi,

    Ok, I understand now.

    Does this still happen if you are using the twentyeleven theme?  Or only with your custom theme?

    I think the default excerpt function normally does remove shortcodes using the WP function strip_shortcodes().  And MapPress tries to suppress maps in excerpts.  But some themes use their own excerpt function and depending on how it’s coded MapPress can’t detect it.

    In that case you must change your excerpt function to disable the ‘mappress’ shortcode.

    You can ask the theme author about how to do this.  Or you can usually find the custom excerpt function in the ‘functions.php. file and change it.

    It depends on your theme, but there are also many suggestions about how to fix this problem on the web – for example:
    http://www.mrmuh.com/2012/01/wordpress-remove-shortcodes-from-excerpt-on-the-front-page/