Options page textarea to populate custom post select field

You can use get_option to get your option values. Below is an example <?php $selected_name = get_post_meta( get_the_ID(), ‘your_meta_key’, true ); $options = get_option( ‘your_options’ ); // If your names are separeated with comma $names = explode( PHP_EOL, $options); ?> <select name=”your-select-name”> <?php foreach ( $names as $name ) { printf( ‘<option value=”%s” %s>%s</option>’, $name, … Read more

Blank white space where header was [closed]

I am not sure which white area you mean (the one above the line?) but that can be done by adding the following to your CSS: header.page-header { display:none; } div.entry-content { margin:0 auto; } Ideally do this in a child theme.

Content not displaying on page

you need to add the loop before and after and add the function the_content() something like this: <?php /** ** Template Name : Home **/ get_header(); ?> <?php while ( have_posts() ) : the_post(); ?> <?php the_content(); ?> <?php endwhile; // end of the loop. ?> <?php get_footer(); ?>

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