Forum Replies Created
-
AuthorPosts
-
jakbaustudio
ParticipantI have changed my strategy 🙂 instead of using do shortcode in template.
I have created another widget area and put into template. When i paste nested shortcoede into widgets everything works great on homepage !
jakbaustudio
ParticipantHi,
I’m trying paste maps in my template file using do_shortcode() function
This code works almost good, but in TEST TAB 2 and 3 maps are not zoomed.
<?php do_shortcode(“[tab name=’TEST TAB 1′] [mashup][/tab]”);
do_shortcode(“[tab name=’TEST TAB 2′][mashup][/tab];”);
do_shortcode(“[tab name=’TEST TAB 3′][mashup][/tab];”);
echo do_shortcode(“[end_tabset]”);?>problem is when I paste attributes to mashup like:
<?php do_shortcode(“[tab name=’TEST TAB 1′] [mashup maptypeid="terrain" zoom="6" center_lat="51.984880" center_lng="19.401855" width="600" height="500"][/tab]”);
do_shortcode(“[tab name=’TEST TAB 2′][mashup show="query" maptypeid="terrain" show_query="category_name=turystyka-i-relaks" zoom="6" center_lat="51.984880" center_lng="19.401855" width="600" height="500"][/tab];”);
do_shortcode(“[tab name=’TEST TAB 3′][mashup show="query" show_query="category_name=zabytki-i-zwiedzanie" maptypeid="terrain" zoom="6" center_lat="51.984880" center_lng="19.401855" width="600" height="500"][/tab];”);
echo do_shortcode(“[end_tabset]”);?>This stuff doesn’ load. Any ideas? would be greatfull for that.
u can see that here:
it works on page edit see sample here: http://blaskipolski.pl/domo/
jakbaustudio
ParticipantI’m doing the same. in my opinion good way is to call mashup for category
f.e.
[mashup show="query" show_query="posts_per_page=5&category_name=YourRregion"] but if someone needs to find a place in london he has to type london i search
Im planning to do search by category, this will work i think. If u find out please write.
K
-
AuthorPosts