TiagoPires
Forum Replies Created
-
Forum: Plugins
In reply to: [Pronamic Google Maps] Disable zoom on scroll using mashupAnd it was a simple as that… works great for desktops.
Since swiping on mobile moves the map around in its frame instead of scrolling the page there is still a problem on phones and tablets as users find it hard to get to bellow-map content.
if the site is visited on a mobile:
https://novazelandiabrasil.com.br/cidades/Thanks again for the help! got us in much better place!
Forum: Plugins
In reply to: [Event Organiser] Update EventCreating events works fine, dates and everything… just having problems to updated the dates when updating an event. They do update title, descriptions etc…
Forum: Plugins
In reply to: [Event Organiser] Update EventHi Stephan!
This is the $event_data using var_export($event_data) just before eo_update_event()
Array ( [schedule] => once [all_day] => 0 [start] => DateTime Object ( [date] => 2013-07-21 10:00:00 [timezone_type] => 3 [timezone] => Australia/Sydney ) [end] => DateTime Object ( [date] => 2013-07-22 10:00:00 [timezone_type] => 3 [timezone] => Australia/Sydney ) )
Thanks for the help!
Try using TineMce directly in your text area instead of using a wordpress plugin for that.
<!DOCTYPE HTML> <html> <head><!-- CDN hosted by Cachefly --> <script src="https://tinymce.cachefly.net/4.0/tinymce.min.js"></script> <script> tinymce.init({ selector:'textarea', menubar : false, toolbar: 'bold italic | undo ' }); </script> </head> <body> <textarea>Your content here.</textarea> </body> </html>
Usefull Doc Links
Controls
Toolbar Options
Advanced Configuration* This HTML just as an example… in wordpress make sure to enqueue the script via functions.php using wp_enqueue_script( );
Forum: Networking WordPress
In reply to: using dev url (IP/~username) with multisitealso, the subsites css points to
https://223.27.22.81/~wwwaccou/medical/wp-content/themes/foundation-vanila/style.css?
and the part “/medical/” should probably not be there as it works with:
https://223.27.22.81/~wwwaccou/wp-content/themes/foundation-vanila/style.css
Forum: Networking WordPress
In reply to: Get Posts from main Blog limited by post-type and termIt works now! I registered the taxonomy in both blogs event if there is no post-type associated to it in the blog 2.
Forum: Networking WordPress
In reply to: query for custom taxonomy of another blog in multisiteIt works now! I registered the taxonomy in both blogs event if there is no post-type associated to it in the blog 2.
Forum: Networking WordPress
In reply to: query for custom taxonomy of another blog in multisiteNote that I tried registering the taxonomy on the blog 2 as well (which is wired) but ideally I would only have this ‘destination’ tax registered on the blog 1 which I’m trying got get posts form.
Forum: Networking WordPress
In reply to: query for custom taxonomy of another blog in multisiteUsing this code I can get posts from a custom post type “staff” registered in blog 1 (the main blog) but taxonomy is ignored returning all “staff” could not get taxonomy to filter results.
<?php global $switched; switch_to_blog(1); //switched to main blog // Get latest Post $staff = query_posts(array( 'post_type' => 'staff', 'posts_per_page' => -1, 'destination' => 'nova-zelandia' ) ); ?> <?php if ( have_posts()) : ?> <ul class="posts"> <?php while ( have_posts() ) : the_post(); ?> <li><?php the_title(); ?></li> <?php endwhile; wp_reset_query(); ?> </ul> <?php endif; ?> <?php restore_current_blog(); //switched back to main site ?>
Forum: Networking WordPress
In reply to: Get Posts from main Blog limited by post-type and termNote that I tested the same query from inside blog 1 index.php and it works as intended. It only does not work from within blog 2 index.php
Forum: Reviews
In reply to: [Social Login] Frustrated–Deleted!I use this plugin so users can create an account in my website using their facebook details and than fill in forms and stuff. It works great. The setup is as easy as it can be and I just follow the docs. Have you had a look on your settings section? you have redirect options there.
Forum: Plugins
In reply to: [CPT-onomies: Using Custom Post Types as Taxonomies] Hierarchical post typeHaving CPT “Packages” associated to CPT “Cities” being both flat no hierarchical post types.
I was trying to, under “Package” edit screen, make Cities metabox display as checkboxes (like categories as opposed to tags) so user can see a set list of cities layed out. It’s like display a list of tags with checkboxes and not as an smart input field.
Do you know of a filter or funciton for that with CPTonomy?
Thanks a lot for your time Rachel!
Spot on! I’m proud that I got close, with a lot more code, but close. Your code is so much better! ?? Thanks for all your help Rachel! unreal!
Forum: Plugins
In reply to: [CPT-onomies: Using Custom Post Types as Taxonomies] Archive pagesGot it to work now updating to 1.2
Thanks Rachel, fantastic ??Forum: Plugins
In reply to: [CPT-onomies: Using Custom Post Types as Taxonomies] Archive pagesIf I registered 2 CPTonomies (Course and City) via register_cpt_onomy() in functions.php Has archives pages default to true in register_cpt_onomy() as I read.
A “Course” is assigned to a “City”
if i type:
https://www.example.com/?post_type=course&city=sydney&cpt_onomy_archive=1
it goes back to the homepage. Also tried to hook
add_rewrite_rule( ‘^course/([^/]*)/?’, ‘index.php?post_type=course&city=$matches[1]&cpt_onomy_archive=1’, ‘top’ )
and re-saved the permalinks in settings.
I’ll keep trying to figure out how to get to the archive pages.A tutorial would be awesome!
Thanks again for all your work!
T.