will83
Forum Replies Created
-
Forum: Plugins
In reply to: [WP REST Cache] Query param for flushing cacheI use your plugin for requests that come from a website in Next.js (I use WordPress as a headless CMS).
Especially in the development phase, it’s annoying for the front end developer to have to flush the cache from the WordPress admin (sometimes they don’t even have access to it). I imagine it could have other uses in production.
I understand that it can be annoying that someone invalidates the cache without my permission. To overcome this, the parameter could have the value of a token defined by the backend developer (like ?flush_cache=WP_REST_CACHE_FLUSH_TOKEN, possibly correlated with the existence of a WP_REST_CACHE_FLUSH_TOKEN constant defined in wp-config.php).Thank you!
Forum: Fixing WordPress
In reply to: Invalid argument supplied for foreach() in class-wp-post-type.phpIf you have a custom post type registred with register_post_type(), the “supports” argument must be an array, if not it generate this error.
Forum: Plugins
In reply to: [ACF Front End Editor] Limit ACF Front End Editor editable content?+1 ! I need that option 😉
But it seems that when you use :
strip_tags(get_field('MyFieldThatShouldBeNotEditableInFrontEnd'))
it works- This reply was modified 9 years, 2 months ago by will83.
Forum: Fixing WordPress
In reply to: Hierarchical URL in menu editorSorry but I really need an answer. Is it possible to base pages URL’s on menu maker ?
Where we can post feature request ?
Thx !Forum: Fixing WordPress
In reply to: post_row_actions in 3.4I do not know why it didn’t work! It’s ok right now !
But quick question, do you know how can I alter the post title link in the page/post list in admin ? If I want to disable “$action[‘edit’], i’ve to unset the post title link too !
Thank you for your answer !Forum: Fixing WordPress
In reply to: Set Link from the_author to author’s archiveIn the index.php and the single.php files of your theme replace
<?php the_author() ?>
by
<?php the_author_posts_link() ?>