Custom post type with custom fields enabled, is there a way to set a default group of fileds?

Meta Boxes are what you need. function add_custom_meta_box() { add_meta_box( $id, $title, $callback, $post_type, $context, $priority, $callback_args ); } add_action( ‘add_meta_boxes’, ‘add_custom_meta_box’ ); Set the custom post type in the 4th parameter. This should get you started: Custom Meta Box in WordPress Post Pages and Custom Post Type

Is it good practice to search for custom posts based on custom field values?

This sounds like the perfect use case for Custom Taxonomies. And unless you plan to customize the admin backend, the Codepress Admin Columns plugin could be useful for filtering the posts using those new taxonomies. Edit (2014.01.23): Yes, you could build a “search form” where you would list the available taxonomies. The get_categories() function will … Read more

Custom Field select list is truncated

As explained here there is a WordPress limit of 30 for the number of custom fields that are available by default. But you can change the behavior as shown with the hook postmeta_form_limit in the below example. add_filter( ‘postmeta_form_limit’ , ‘customfield_limit_increase’ ); function customfield_limit_increase( $limit ) { $limit = 100; return $limit; }

Syling Custom Fields echo’s from from functions.php

How about just echoing out the needed syntax like that: echo ‘<div class=”custom-field”>’ . genesis_get_custom_field(‘instrument’) . ‘</div>’; You can also just use CSS and style the header.entry-header { //your sexy styles goes here } Since other elements inside are wrapped in their own elements and styled separately (I mean the actual H1 and meta data) … Read more

How to link a word comprised of a custom field with another?

According to the documentation, you should display a field like: <p><?php the_field(‘field_name’); ?></p> Change your get_field to the_field: <span class=”c_f”><a href=”https://wordpress.stackexchange.com/questions/131004/<?php the_field(“field2_link’); ?>”><?php the_field(‘field1_details’); ?></a></span>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)