Theme comment callback results nothing
Theme comment callback results nothing
Theme comment callback results nothing
Change archive link to single post
For all intents and purposes, you only need one loop. While s_ha_dum’s comment is correct, odds are since you’re asking this question, you won’t have a need for multiple loops. <? get_header(); ?> <? if(have_posts()): while(have_posts()): the_post(); ?> <!–Your content here, like so–> <div id=”content”> <? the_field(‘body_content’); ?> <? the_field(‘footer_content’); ?> </div> <? endwhile; endif; … Read more
On your custom post type’s single page, you want to treat it similar to your standard post single template. For the most part, you should wrap everything in your single template in one loop like so: <? get_header(); ?> <? if(have_posts()): while(have_posts()): the_post(); ?> <!–Your content goes here–> <? endwhile; endif; ?> <? get_footer(); ?> … Read more
First you need to get the value from attributes, option page or meta value; if you have an option page you need to call that value: $valuerequired = get_option(‘ctech_valuefromoptionpage’); ctech is the short theme name, and if the attributes field is a meta value $price = get_post_meta($post->ID, ‘price’, true); then you can echo the value … Read more
When you import from HeidiSQL, make sure whn selecting the file, to change the Enconding Option below to UTF-8, revert your wp-config the way it was
403 forbidden due to .htaccess?
Commentform – Hightlight invalid fields instead of prompting towards error page
It turns out Minileven (the mobile theme that comes bundled with Jetpack) uses the main theme’s default post_thumbnail_size, which is set using set_post_thumbnail_size. Adding this line to my main theme’s functions.php inside a function called through the after_theme_setup action helped solve the problem: set_post_thumbnail_size( 600, 400, true );
If you’ve removed the twentythirteen fonts you can add new ones via your styles.css file using @font-face.