This is what the site looks like:
Skip to navigation Skip to content
HaveAcandle
Search for:
Search products…
Search
Menu
Home
My Account
Checkout
Cart
Contact Us
Home
My Account
Checkout
Cart
Contact Us
$0.00 0 items
Home / Home
Home
Contact Us
5223 Ferrell mountain court
North Las Vegas , Nevada 89031
Phone: 1-702-219-5257
Email: [email protected]
Social Media
View haveacandle’s profile on Facebook
View haveacandle1’s profile on Twitter
View haveacandle’s profile on Instagram
Customer Service
Contact Us
About Us
Products
My Account
Checkout
Cart
? HaveAcandle 2018
Privacy Policy Built with Storefront & WooCommerce.
My Account
Search
Search for:
Search products…
Search
0
And we now can’t log into the admin dashboard to fix it.
]]>Any help is appreciated. I want H1 for SEO purposes.
]]>An easy solution would be to use the h1.entry-title.
In the pages directory (which you need to place in your child theme with the same directory structure as the original theme), you will find content-front-page.php
In this file you will be able to define the entry titles as h1. I would change
<?php the_title( ‘<h2 class=”entry-title”>’, ‘</h2>’ ); ?>
This should do it for you.There is another page in this directory, content-page.php , which already shows the page titles as h1.
<header class=”entry-header”>
<?php the_title( ‘<h1 class=”entry-title”>’, ‘</h1>’ ); ?>
I would like to add a custom post type (‘tour’ in this case), so that I can select the preferred menu on those pages as well. I’ve tried adding in to the ddi_functions.php file but keep getting 500 errors. Any help would be awesome.
So I’ve added this:
{
if($post->post_type==’page’ || $post->post_type==’post’){
$selected_menu_id = get_post_meta( $post->ID ,’selected_menu’);
$menus = wp_get_nav_menus();
}
to this:
{
if($post->post_type==’page’) {
$selected_menu_id = get_post_meta( $post->ID ,’selected_menu’);
$menus = wp_get_nav_menus();
} elseif ($post->post_type==’post’) {
$selected_menu_id = get_post_meta( $post->ID ,’selected_menu’);
$menus = wp_get_nav_menus();
} else ($post->post_type==’tour’){
$selected_menu_id = get_post_meta( $post->ID ,’selected_menu’);
$menus = wp_get_nav_menus();
endif;
}
note: errors in brackets might come from copying. Checked them carefully.
Hope you or someone accidentally passing by can help me
The site is willoughbywildcats.com
An example of what I mean is on the page:
https://willoughbywildcats.com/product/wildcats-t-shirt/
Where it says “Add a number”, I’d like to make that text box smaller, big enough for just two characters.
]]>acub
Member
Posted 2 years ago #In your functions.php (which should be empty), add this code in between the php markup delimiters:
add_filter(‘tc_credits_display’, ‘my_custom_credits’);
function my_custom_credits(){
echo ‘<div class=”span4 credits”>
<p> · © ‘.esc_attr( date( ‘Y’ ) ).’ ‘.esc_attr(get_bloginfo()).’ · Designed by Themes & Co ·</p></div>’;
}Of course, you’ll need to replace the part between the last two middots with your own stuff.
I saved the file in my chold themes.
I went to look at my website and it is blank! I pressed the back key and the editor page came up so I erased what was there. Isaved the document and looked at my website and again its blank Infact I pressed the “posts” link and that is blank too.
Please can you tell me how I can correct what has gone wrong… in future I will look for the plugins rather than coe something I dont understand|!
Thank you.
]]>require_once(): Failed opening required ‘/homepages/30/d200273046/htdocs/mvcc_site/wp-content/plugins/page-whitelists/templates/profile_field.php’ (include_path=’.:/usr/lib/php5.4′) in /homepages/30/d200273046/htdocs/mvcc_site/wp-content/plugins/page-whitelists/classes/WL_Admin.php on line 115
Is it searching for /templates/profile_field.php and not finding it? That file doesn’t seem to be anywhere.
Advice appreciated.
https://www.ads-software.com/plugins/page-whitelists/
]]>I’ve been trying to add a code to my site’s index.php file in order to have ads displayed after every 3rd post. I’ve tried a number of options, but none has worked so far. I’m a beginner, so I often get confused with these lines of code. I’d really appreciate if someone could help!
Here is what my index.php looks like
<?php
/**
* The index template for displaying content
*
* @package Cryout Creations
* @subpackage Tempera
* @since Tempera 1.1
*/
$options = tempera_get_theme_options();
foreach ($options as $key => $value) { ${"$key"} = $value; }
?>
<section id="container" class="<?php echo tempera_get_layout_class(); ?>">
<div id="content" role="main">
<?php cryout_before_content_hook();
if ( have_posts() ) :
/* Start the Loop */
while ( have_posts() ) : the_post();
get_template_part( 'content/content', get_post_format() );
endwhile;
if($tempera_pagination=="Enable") tempera_pagination(); else tempera_content_nav( 'nav-below' );
else : ?>
<article id="post-0" class="post no-results not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Nothing Found', 'tempera' ); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content">
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'tempera' ); ?></p>
<?php get_search_form(); ?>
</div><!-- .entry-content -->
</article><!-- #post-0 -->
<?php
endif;
cryout_after_content_hook();
?>
</div><!-- #content -->
<?php tempera_get_sidebar(); ?>
</section><!-- #container -->
I’m using tempera theme by cryout. THANKS!
]]>Here is the code:
`
get_header(); ?>
<div id=”primary” class=”content-area col-md-8 col-sm-12<?php echo ot_get_option( ‘sidebar-positions’ ); ?>”>
<main id=”main” class=”site-main” role=”main”>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( ‘content’, ‘page’ ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || ‘0’ != get_comments_number() ) :
comments_template();
endif;
?>
<?php endwhile; // end of the loop. ?>
</main><!– #main –>
</div><!– #primary –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
<? php if (is_page(‘coverpage’ )) { ?>
// title removed
<?php } else { ?>
<h1><?php the_title(); ?></h1>
<?php } ?>
https://www.ads-software.com/plugins/wp-simple-booking-calendar/
]]>