Costum Theme template directoy url problem
try get_stylesheet_directory_uri() http://codex.wordpress.org/Function_Reference/get_stylesheet_directory_uri Using this has helped me with this type of issue in the past.
try get_stylesheet_directory_uri() http://codex.wordpress.org/Function_Reference/get_stylesheet_directory_uri Using this has helped me with this type of issue in the past.
You can use get_queried_object to return the name of the current category page you are on $cc = get_queried_object(); echo $cc->cat_name; //display the name of current category page
Try Advanced Custom Fields and simply add a WYSIWYG editor. Step 1 Et Voila! Displaying the input on the front-end <?php /* Put the attachment ID in place of 999 */ // Display the_field(‘yea’, 999); // In case you need to don’t want to display it right away get_field(‘yea’, 999); ?>
The web hosting provider should have a process available for gaining access to a control panel, FTP, etc. They will likely need your employer to prove ownership of the account somehow. From this access, you will have all that you need to duplicate the site and install a development version before beginning your edits.
Add this in your functions file and it links all single posts within the same category add_action(‘loop_end’, ‘wpsites_nav_links’, 25 ); function wpsites_nav_links() { if( !is_single() ) return; previous_post_link(‘<span class=”single-post-nav previous-post-link”>%link</span>’, ‘<< Previous Post in Category’, TRUE); next_post_link(‘<span class=”single-post-nav next-post-link”>%link</span>’, ‘Next Post in Category >>’, TRUE); }
It depends upon the requirement how the form submission entries is going to work afterwards. if you want to collect info from front end and log them to database (with listing in admin panel), separate db table could be the way. if you want to display the data submitted in the form to the front … Read more
You should call the_post only inside the loop, or call rewind_posts() before actually starting the loop. sidenote: you are doing it totally wrong. don’t reinvent the wheel, look in the codex how to write a theme or use one of the bundled default themes as a base to your theme. No sane person starts to … Read more
Lost for direction on how to continue building a theme
There are probably several approaches to doing this. One approach would be to select the categories and comments divs in your theme and use css to remove them. Example: In your style.css .entry-utility-prep-cat-links { display:none; }
It seems that you are adding the menu levels as separate menus: A “Primary menu” containing the items: “HOME”, “DPRK TOURS”, “INTERNATIONAL”, … etc. A “Secondary menu” containing the items: “INTERNATIONAL GROUP TOURS”, “VOLUNTEER PROGRAMS”, … etc. However, most themes support at most two such menu-levels, and some even support only one. So, if you … Read more