onlineatwork
Forum Replies Created
-
Forum: Plugins
In reply to: [Force Login] WPForm not workingWas able to fix this via addding this to our functions.php:
$allowed = array( home_url( '/impressum/' ), home_url( '/datenschutz/' ), home_url( '/cookie-richtlinie-eu/' ), home_url( '/ueber-mich/' ), home_url( '/registrieren/' ), home_url( '/portal/' ), home_url( '/wp-content/plugins/wpforms-lite/' ), );
Forum: Plugins
In reply to: [WooCommerce Accommodation Bookings] Has ressource ,has personsI think what was causing this here, is switching to bookable product and then coming back to accommdation product. This at least is whats happening in my case. Normal behavior? Nothing existential but maybe a nice to have, to cache these data.
Cheers and keep up the good work!Forum: Plugins
In reply to: [WooCommerce Accommodation Bookings] Check in – Check outAre there any plans for making a custom check in check out, for each accommodation product? This would be a game changer.
Forum: Plugins
In reply to: [WooCommerce Accommodation Bookings] Check in – Check outGot to Bookings–>Settings–>top right is Accommodation
i am very happy to say, that the import/export does work for me! Got the taxonomies in a new order after carefully editing the exported code via – tools – taxonomies – Export Taxonomies settings. Thanks allot!
- This reply was modified 3 years, 9 months ago by onlineatwork.
- This reply was modified 3 years, 9 months ago by onlineatwork.
- This reply was modified 3 years, 9 months ago by onlineatwork.
thanks allot, i′ll give a feedback tomorrow! If you owuld be so kind to delete my code posted here, that would be great. Have ag ood day!
i defenitly will ?? Where to find the JSON Data to change the order ?
ok nice, where to export and import the date ? And are my posts still assigned after the process is done?
Thanks for the quick response! Could you be a bit more detailed about the import/export function, to reorder the taxonomies? OR maybe i am a bit mor detailed to ??
We bought a code “customization” from another Plugin team, to handle taxonomy metaboxes in the frontendupload. These are set the way the taxonomies are in the cpt ui backend.
So my idea was, to reorder the taxonomies and all is good.
Or is there a quick way for you to find a solution in this code?<?php if(!defined("ABSPATH")) die(); $taxonomies = get_object_taxonomies( 'wpdmpro' ); $taxonomies = array_diff($taxonomies, ['wpdmcategory', 'wpdmtag']); foreach ($taxonomies as $taxonomy){ $taxonomyObj = get_taxonomy($taxonomy); //wpdmprecho($taxonomyObj); ?> <div class="card wpdmap-card-filter mb-3" id="<?= $taxonomy ?>-section" <?php if (in_array($taxonomy, $hide)) { ?>style="display: none"<?php } ?>> <div class="card-header"> <?= $taxonomyObj->label; ?> </div> <div class="card-header p-2 filter-header"><input placeholder="<?php echo __( "Search...", "download-manager" ) ?>" type="search" class="form-control form-control-sm bg-white input-sm" id="<?= $taxonomy ?>_src" /></div> <div class="card-body tag-card"> <ul id="wpdm-<?= $taxonomy ?>" class="wpdm-taxonomy"> <?php $term_list = wp_get_post_terms($post->ID, $taxonomy, array("fields" => "all")); $selectedterms = array(); foreach ($term_list as $__term) { $selectedterms[] = $__term->term_id; } $terms = get_terms(['taxonomy' => $taxonomy, 'hide_empty' => false]); foreach($terms as $term){ echo "<li class='wpdm-tag'><label><input type='checkbox' name='taxonomy[{$taxonomy}][]' ".checked(in_array($term->term_id, $selectedterms), true, false)." class='wpdmtag' value='{$term->term_id}'> <span class='tagname'>{$term->name}</span></label></li>"; } ?> </ul> </div> <div class="card-footer"> <div class="input-group"> <input type="text" class="form-control" id="new_term_<?= $taxonomy ?>" /> <div class="input-group-append"> <button type="button" class="btn btn-secondary btn-create-term-wpdm" data-taxonomy="<?= $taxonomy ?>"><i class="fa fa-plus-circle"></i></button> </div> </div> </div> </div> <script> jQuery(function ($) { $("#<?= $taxonomy ?>_src").on("keyup", function() { var value = $(this).val().toLowerCase(); $("#wpdm-<?= $taxonomy ?> li").filter(function() { $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1) }); }); }); </script> <?php } ?> <script> jQuery(function ($){ $('.btn-create-term-wpdm').on('click', function (e){ e.preventDefault(); var tax = $(this).data('taxonomy'); WPDM.blockUI('#'+tax+'-section'); var term = $('#new_term_'+tax).val(); $.get(wpdm_url.ajax, { action: 'wpdm_create_term', term: term, taxonomy: tax, __nonce: '<?= wp_create_nonce(NONCE_KEY); ?>'}, function (response){ if(response.success === true) $('#wpdm-'+tax).append(response.html); else WPDM.bootAlert("<?= __( 'Error', 'download-manager' ); ?>", "<?= __( 'Failed to create term', 'download-manager' ); ?>", 400); WPDM.unblockUI('#'+tax+'-section'); }); }); }); </script> <style> .wpdm-taxonomy, .wpdm-taxonomy li{ list-style: none; margin: 0; padding: 0; font-size: 9pt; } .wpdm-taxonomy li label{ font-size: 9pt; } </style>
- This reply was modified 3 years, 9 months ago by onlineatwork.
- This reply was modified 3 years, 9 months ago by onlineatwork.
- This reply was modified 3 years, 9 months ago by onlineatwork.
- This reply was modified 3 years, 9 months ago by onlineatwork.
Forum: Plugins
In reply to: [Gallery Images Ape] Galleries not showing upSorry, can be closed. Exidentily installed Version gallery-images-ape.2.0.10
Ticket can be closed.
Forum: Plugins
In reply to: [Featured Image from URL (FIFU)] Essential GridForum: Plugins
In reply to: [Featured Image from URL (FIFU)] Essential Gridyour mail adress is not reachable…
Forum: Plugins
In reply to: [Featured Image from URL (FIFU)] Essential Gridi′ve tryed the : Twenty Seventeen, but it is still not working.
Our Theme is:
https://www.elegantthemes.com/gallery/extra/documentation/The Plugin for the blogpostgallery is:
https://www.themepunch.com/essgrid-doc/essential-grid-documentation/Our theme only seems to work (without Essential Grid) with the “This Plugin Doesn’t Work, Man!” setting turned on.
We need those gallery post pictures with external images, imported with you plugin.
We would go Pro if you could check the theme and settings, to get this thing done ??
I′ll send you the files by mail.Forum: Plugins
In reply to: [Featured Image from URL (FIFU)] Essential GridI′ve tryed to use the fifu_image_url and set Essential grid to alternate images, but nothing happens.
Forum: Plugins
In reply to: [Featured Image from URL (FIFU)] Essential Gridthanks for you reply!
I′ve something notived:
If i deactivate the Setting “This Plugin Doesn’t Work, Man!” in FIFURL, the posts does not have any feture picture. So i think the hole Theme is not compatible with the FIFURL.
Could you check that out ?