finegermandesign
Forum Replies Created
-
Hi @caseproof
Thanks for the function.
I will restrict the view and edit of individual content pages (posttype page) by the content permission set by the members plugin.Users without the set role should have no access to this pages on the front-end and in the backend.
Cheers
Update: for a test I add the Nav code in the WP_Mailjet_Subscribe_Widget.php with the same result: I got the nav but without CPTs
// If no selected page in widget settings, display default template if (empty($thanks_id)) { $newsletterRegistration = Mailjeti18n::getTranslationsFromFile($locale, 'Newsletter Registration'); $congratsSubscribed = Mailjeti18n::getTranslationsFromFile($locale, 'Congratulations, you have successfully subscribed!'); // $thankYouPageTemplate = apply_filters('mailjet_thank_you_page_template', plugin_dir_path(__FILE__) . 'templates' . DIRECTORY_SEPARATOR . 'thankyou.php'); // include($thankYouPageTemplate); wp_reset_postdata(); wp_reset_query(); $primary_menu_args = array( 'theme_location' => 'main_menu', 'container' => '<ul id="primary_menu">', 'container_class' => 'main_menu', 'container_id' => 'main_menu', 'menu_class' => 'primary_menu menu', 'menu_id' => 'primary_menu', 'echo' => false, 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => 0, 'fallback_cb' => 'main_menu', ); $primary_menu = wp_nav_menu( $primary_menu_args ); var_dump($primary_menu); die; }
I tried to add a filter in my functions.php on eo_format_datetime_range but it doesn’t have any effects in full calendar …
Thanks but W is not all…
I want:
KW32 6.—12. August 2018the argument is:
‘titleformatweek’ => ‘\K\WW j. F Y’,and it returns this:
KW32 6 — 32 12. August 2018the week twice and on the first day the dot “.” is missing.
Forum: Fixing WordPress
In reply to: General Settings not saving. Failed to load resource…Thanks, the fast try with
<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>
dosen’t help, but maybe the host block this. I will try that our client can check the hoster settings.
- This reply was modified 6 years, 9 months ago by finegermandesign.