IoanPokorny
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress gallery link by default to fileIf i install cleaner gallery will it interpret simple [gallery id's...] as link=”file”? I don’t want to edit 1000+ posts
Forum: Fixing WordPress
In reply to: WordPress gallery link by default to fileThank you for your patience and for getting back to me, but regardless of what I enter in that field, nothing does change. I still get the gallery pictures link to the attachments page rather than pop-up in a lightbox (as it does if I specify link=”file”.
Sample: https://test3.glutenfreeclub.com/chipotle-cheese-crisps/ (gallery under the recipie)
How can I use the plugin you have described?
Forum: Plugins
In reply to: [Posts 2 Posts] Selection of connected post mandatoryThank you
Forum: Fixing WordPress
In reply to: WordPress gallery link by default to fileIf I install cleaner gallery do I need to alter any of my shortcodes?
Forum: Fixing WordPress
In reply to: WordPress gallery link by default to fileThank you supportie for your reply. Have already tried options.php and changed the value to file but nothing happens. If I click on an image, I still get directed to the attachment page.
Any ideas why this might happen?
Forum: Plugins
In reply to: [Posts 2 Posts] Selection of connected post mandatoryThe custom code is not an issue, I just don’t know which $_POST variabile I need to check
Forum: Fixing WordPress
In reply to: Is this possible in WordPressNgallery offers much more stability and extra features. Search that plugin
Forum: Plugins
In reply to: [Posts 2 Posts] Show in admin UI only childrenPerhaps, if that it’s way out of reach, is it possible to put a conditional somewhere (even if needs entering into plugins code), for example to display a specific post only if custom-field[‘test’]==1, or anything I could wrap arround
Forum: Plugins
In reply to: [Posts 2 Posts] Show in admin UI only childrenWhat function is there used to echo the results in the admin box?
Forum: Plugins
In reply to: [Posts 2 Posts] Show in admin UI only childrenThank you for your fast and prompt response,
honestly I don’t know how I could use that filterForum: Plugins
In reply to: [Posts 2 Posts] Show in admin UI only childrenCan’t I query in my admin box only child pages (eg depth: -1) ? The entire site custom coding is laid on that format
Forum: Plugins
In reply to: [Posts 2 Posts] Edit Metabox and admin column labels/titlesHi, no matter what I put in the to_labels the admin box still shows the standard fields…
Forum: Plugins
In reply to: [Secure Custom Fields] Add more than 10 fields…Is there a limit in this sense? A permium pack?
Forum: Plugins
In reply to: [Secure Custom Fields] Latest version doesn't work for custom post typesAre they defined corectly, had issues when I used plugins, if defined manually they work perfectly with all of the custom posts
add_action( 'init', 'create_clients' ); function create_clients() { $labels = array( 'name' => _x('Clients', 'post type general name'), 'singular_name' => _x('Client', 'post type singular name'), 'add_new' => _x('Add New', 'Client'), 'add_new_item' => __('Add new Client'), 'edit_item' => __('Edit client'), 'new_item' => __('New client'), 'view_item' => __('View client'), 'search_items' => __('Search clients'), 'not_found' => __('No clients found'), 'not_found_in_trash' => __('No clients found in Trash'), 'parent_item_colon' => '' ); $supports = array('title', 'page-attributes'); register_post_type( 'clients', array( 'labels' => $labels, 'public' => true, 'supports' => $supports, 'hierarchical' => true ) ); }
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged/corrupted by the forum’s parser.]
A very simple solution
create your very own highly custom post types that work perfectly with ACF without needing any plugin.
Put this in your template’s functions.php file
Just change the labels to what you need and you are good to go
add_action( 'init', 'create_clients' ); function create_clients() { $labels = array( 'name' => _x('Clients', 'post type general name'), 'singular_name' => _x('Client', 'post type singular name'), 'add_new' => _x('Add New', 'Client'), 'add_new_item' => __('Add new Client'), 'edit_item' => __('Edit client'), 'new_item' => __('New client'), 'view_item' => __('View client'), 'search_items' => __('Search clients'), 'not_found' => __('No clients found'), 'not_found_in_trash' => __('No clients found in Trash'), 'parent_item_colon' => '' ); $supports = array('title', 'page-attributes'); register_post_type( 'clients', array( 'labels' => $labels, 'public' => true, 'supports' => $supports, 'hierarchical' => true ) ); }
[Moderator Note: Please post code snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged/corrupted by the forum’s parser.]