dreambuilders

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Shortcode in category description #10034
    dreambuilders
    Participant

    Hi,

    I put this code in the category template file and it works fine:

    <?php echo do_shortcode(‘[mashup width="495" height="250"]‘); ?>

     

    But now I show a map in the categories where I have no posts with maps. Couldn’t you add some type of short code to not show the map if there are no spots on it.

    in reply to: Shortcode in category description #9872
    dreambuilders
    Participant

    Hi again,

    I would like to add mashups in the category description. To do this instead of adding it in the category theme file I can chose in which categories there should be a mashup.

    When I upgraded to 2.38.3 beta I got the following error:

    Fatal error: ob_start() [<a href=’ref.outcontrol’>ref.outcontrol</a>]: Cannot use output buffering in output buffering display handlers in /home/jakob10/domains/segla.nu/public_html/wp-content/plugins/mappress-google-maps-for-wordpress/pro/mappress_pro.php on line 372

    It still works well when using it in a page.

Viewing 2 posts - 1 through 2 (of 2 total)