Hello everyone,I’m currently in the process of rebuilding my website on WordPress and I’m looking for some advice on choosing the right theme.
My current website has a box design with a horizontal menu under the H1 tag. The homepage provides a summary of the entire site, including my services and a brief overview of my skills. The menu includes sub-menus such as “About” with “Who am I” and “Code of Ethics”, and the same for my services, each with their own dedicated page. One of the menu entries directly links to an appointment booking tool. The overall site design adheres to a color palette, with some boxes having shadows, and it’s responsive.In terms of functionality, there isn’t much beyond a widget for my appointment booking tool, and I’d like to add a blog page as well.
I’ve been considering using Divi as it seems to offer a lot of customization options, but I’m open to other suggestions as well. I add that I’m better with Kadence Blocks.
Can anyone recommend a WordPress theme that would allow me to recreate the design and functionality of my current site?Any help or advice would be greatly appreciated. Thank you in advance!
]]>Line? 88: <nav class=’primary-menu-wrapper’ aria-label='<?php echo esc_attr_x( ‘Horizontal’, ‘menu’, ‘Theme name ); ?>’>
I received a warning that a translation function has an incorrect number of arguments in the file.
]]>So im trying to upload a theme onto my website. Its a theme i have made on my computer but everytime i try to upload it gives me this error
This site can’t be reachedThe webpage at https://localhost/wordpress/wp-admin/update.php?action=upload-theme might be temporarily down or it may have moved permanently to a new web address.
ERR_ACCESS_DENIED
I have been trying to upload since satarday.
I am also using GCP(GOOGLE CLOUD platform) and added wordpress supported by bitnami so i dont think that i have a cpanel or anyway to add it manually
The process i used it
appearance>themes>add new> upload theme
i am NOT uploading a zip but simply from my bitnami wordpress themes folder.
Also i have tried on local host and it still says the same thing
I have also tried installing diffrent themes that are from wordpress(not personally builtt) and they activate
I have also tried to unistall all plugins and there is still a problem.
Is wordpress down or is it a just-me kind of issue?
Help please!
]]>
<section class="middle-area">
<div class="container">
<div class="row">
<aside class="sidebar col-md-3 h-100">
<?php
// Require a file called sidebar-home.php
get_sidebar( 'home' );
?>
</aside>
<div class="news col-md-9">
<div class="row">
<div class="container">
<?php
$featured = new WP_Query( 'post_type=post&posts_per_page=1&cat=4,11' );
if( $featured->have_posts() ):
while( $featured->have_posts() ): $featured->the_post();
?>
<div class="col-12">
<?php get_template_part( 'template-parts/content', 'featured' ); ?>
</div>
<?php
endwhile;
wp_reset_postdata();
endif;
?>
</div>
</div>
</div>
</div>
</div>
</section>
The content-featured file
<article <?php post_class( array( 'class' => 'featured' ) ); ?>>
<h2><?php the_title(); ?></h2>
<div class="thumbnail">
<?php the_post_thumbnail( 'large', array( 'class' => 'img-fluid' ) ); ?>
</div>
<div class="meta-info">
<p>
by <span><?php the_author_posts_link(); ?></span>
Categories: <span><?php the_category( ' ' ); ?></span>
<?php the_tags( ' Tags: <span>', ', ', '</span>' ); ?>
</p>
<p><span><?php echo get_the_date(); ?></p>
</div>
<p><?php the_excerpt(); ?></p>
]]>function initialize_nav_bar() {
echo "<script type='text/javascript'>";
echo "document.getElementsByClassName('menu-top-menu-container');";
echo "navbar = document.getElementsByClassName('menu-top-menu-container');";
echo "logo = document.createElement('a');";
echo "logo.setAttribute('id', 'logo');";
$homepath = "<?php bloginfo('template_directory'); ?>/index.php";
echo "logo.setAttribute('href', '$homepath');";
echo "</script>";
}
I’m not sure this is the right way to do that. Do you have any suggestions?
Thank you so much!
It appears to be loading in the front end but no working. The child theme is active and functioning and my functions.php has this
<?php
add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
function enqueue_parent_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
}
?>
]]>Is that Possible?
]]>I have a problem.
I am doing unique template and I have encountered this error.
My page is now blank, and I don’t understand why. I believe it’s the closing <body> and <html> tags problem.
<!--Header.php file-->
<!DOCTYPE html>
<html <?php language_attributes();?>>
<head>
<meta charset="<?php blog_info('charset');?>">
<meta name="viewport" content="width=device-width">
<title><?php blog_info('name');?></title>
<?php wp_head();?>
</head>
<body <?php body_class();?>>
<div class="container">
<header class="site-header">
<h1><a href"<?php echo home_url();?>"><?php bloginfo('name');?></a></h1>
<h5><?php bloginfo('description');?></h5>
</header>
<!--Footer.php file-->
<footer class="site-footer">
<p><?php bloginfo('name');?> - © <?php echo date('Y')?></p>
</footer>
<?php wp_head();?>
</div> <!-- closing div container -->
</body>
</html>
<!--index.php file-->
<h1>Hello world!</h1>
<?php
get_header();
if (have_posts()):
while (have_posts()) : the_post();?>
<article class="post">
<h2><a href="<?php the_permalink();?>"><?php the_title();?></a></h2>
<?php the_content();?>
</article>
<?php endwhile;
else :
echo '<p>No content found</p>';
endif;
get_footer();
?>
I tried deleting everything in header.php file and footer.php file, then suddenly it worked, but when I add something in these files I have blank page error. Can anyone provide me with solution? Would be thankful. <3
]]>