WebStyley
Forum Replies Created
-
Hello,
Thank you for the reply. I created the taxonomy with the plugin and add the terms through the post editor. Would you be able to look at it in the dashboard if I provide you login credentials in a pm?
Thanks
Forum: Plugins
In reply to: [Contact Form 7] Orange box only on one formThe captcha was causing the form to fail.
Forum: Fixing WordPress
In reply to: Don't show top level taxonomyOr how can I exclude a specific term from displaying?
Forum: Fixing WordPress
In reply to: Hide Empty TaxonomyThank you.
Forum: Fixing WordPress
In reply to: Show a list of inactive TaxonomiesJust checking in again on this post? Thanks
Forum: Fixing WordPress
In reply to: Hide Empty TaxonomyAJ thanks for the reply. That change gives me a 500 error? Any other ideas on how to hide empty taxonomies.
Forum: Fixing WordPress
In reply to: Show Top Level Parent TaxonomyHere is what I came up with after some research and trial and error for anyone that needs this:
<?php $term_id = get_queried_object()->term_id; //Get ID of current term $ancestors = get_ancestors( $term_id, 'taxonomy' ); // Get a list of ancestors $ancestors = array_reverse($ancestors); //Reverse the array to put the top level ancestor first $ancestors[0] ? $top_term_id = $ancestors[0] : $top_term_id = $term_id; //Check if there is an ancestor, else use id of current term $term = get_term( $top_term_id, 'taxonomy' ); //Get the term echo $term->name; // Echo name of top level ancestor ?>
Forum: Fixing WordPress
In reply to: Show a list of inactive TaxonomiesAnyone have any ideas on this? Thanks
Forum: Fixing WordPress
In reply to: Show Top Level Parent TaxonomyAnyone have any ideas on this? Thanks
Forum: Fixing WordPress
In reply to: Display terms in custom taxonomy child onlyThank you very much. I completely neglected to try that. It worked. I added the parameter and it worked!
Edit: FYI: I used the ‘child_of’ parameter.
Forum: Fixing WordPress
In reply to: css and images not loading unless logged incheck the permissions of the files on your server through an FTP Client.
Forum: Fixing WordPress
In reply to: Change my google text under website address.This plugin will help you do this.
Forum: Plugins
In reply to: [WP Ultimate Search] first character is missing in search fieldThank you below is the link
So if you do not care if you lose all of the content on the existing website, you can just remove the existing install and move your new site.
Forum: Fixing WordPress
In reply to: Help with creating a page template without header, footer, sidebarThis should take out the title headings
<?php /* Template Name: LPS */ ?> <html> <head> <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="screen" /> <style type="text/css"> body { background-color: #3a3a3a; background-image: url('https://dj-hire-london.co.uk/wp-content/uploads/2013/12/dj-hire-london-background.jpg'); background-repeat: repeat; background-position: top center; background-attachment: fixed; } </style> <title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title> <?php wp_head(); ?> </head> <body> <div id="wrapper"> <div id="container"> <section id="content" <?php pinboard_content_class(); ?>> <?php if( have_posts() ) : the_post(); ?> <article <?php post_class(); ?> id="post-<?php the_ID(); ?>"> <div class="entry-content"> <?php the_content(); ?> <div class="clear"></div> </div><!-- .entry-content --> <?php wp_link_pages( array( 'before' => '<footer class="entry-utility"><p class="post-pagination">' . __( 'Pages:', 'pinboard' ), 'after' => '</p></footer><!-- .entry-utility -->' ) ); ?> </div><!-- .entry --> </article><!-- .post --> </section><!-- #content --> <div class="clear"></div> </div><!-- #container --> </div><!-- #wrapper --> </div> </body> </html>