worels
Forum Replies Created
-
meToo
Forum: Themes and Templates
In reply to: [Admiral] Page TemplateSorry, but your answer is way to late …
Do you really think, someone would need any answer months later ?Forum: Themes and Templates
In reply to: [Admiral] SearchSorry, but your answer is way to late …
Do you really think, someone would need any answer months later ?Forum: Plugins
In reply to: [Category to Pages WUD] No Category/Tag widget in custom post/page typeHi
Meanwhile it works ….
(No plugin – registered in functions.php)
Brds WorelsForum: Themes and Templates
In reply to: [Admiral] SearchSolution:
1. Use Relevanssi (or similar)
2.
In the content-search.php (Best copied to a child-theme with folder and also copy search.php there)
you have to add in the loop:
<a href="<?php the_permalink();?>"><h3><?php the_title(); ?></h3></a>
than you get the results with the links.
In my case, there was only:the_excerpt()
BrgdsForum: Fixing WordPress
In reply to: Useless search resultsSolution:
In the file, where the search results will be generated, in my case:
content-search.php, as that is the file search.php points to …
you have to add in the loop:
<a href="<?php the_permalink();?>"><h3><?php the_title(); ?></h3></a>
than you get the results with the links.
In my case, there was only:the_excerpt()
- This reply was modified 6 years, 10 months ago by worels.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Searchresults of pages without linksSo tnx again for you sudden and competent help …
You made my day ??Forum: Plugins
In reply to: [Relevanssi - A Better Search] Searchresults of pages without linksI was working in the wrong directory ??
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Searchresults of pages without linksForum: Fixing WordPress
In reply to: Useless search resultsSearch-Everything – same behaviour – NO clickabel links in search results
no custom field results of custom post type pages ??It must have something to do, how the theme (admiral) formats the results, but I don’t know how to change this and the theme(admiral) don’t give personal support and in the theme-forum there are no answers and just 1 post …
Forum: Fixing WordPress
In reply to: Useless search resultsAs I said, this changes nothing, the search results/style doesn’t change even with plugin … I tried Relevanssi and curry-search before ….
They have no own result oage, they use WP-search or Theme-search with described effects …Forum: Fixing WordPress
In reply to: minimize or hide main content filed in backendYes there is ??
In the supports – section of the custom post type definition just don’t enable the “editor” option. i.e.:'supports' => array( 'title', 'author', 'thumbnail', 'comments' ),
as you can see, no editor is enabled ??
Forum: Fixing WordPress
In reply to: Overview page in backend does not show column valuesPERFECT !!!
Tnx a lotForum: Plugins
In reply to: [Fixed Widget and Sticky Elements for WordPress] Weaver ExtremeYes it does, but not needed, because it will be better to solve it with the theme built-in possibilities ….
Forum: Fixing WordPress
In reply to: Design custom template@swansonphotos (Pioneer Web Design)
Just to make sure, that I did get it right:
(Until, there is no html body-tag in the template file)
“1. Add a unique body class to the body HTML element of your custom template.”
… means, that I put the body class after the “get header” ?
…. and can I use a custom “name” for it ?
Like so :<?php /* Template Name: Workshopseite */ ?> <?php get_header(); ?> <body class="wspage_css_class"> <section id="primary" class="content-single content-area"> <main id="main" class="site-main" role="main"> <?php while ( have_posts() ) : the_post(); admiral_breadcrumbs(); get_template_part( 'template-parts/content', 'page' ); comments_template(); endwhile; ?> </main><!-- #main --> </section><!-- #primary --> <?php get_sidebar(); ?> <?php get_footer(); ?>
… hope the name class=”wspage_css_class” is a correct one … and NO closing body tag, as it will be in the footer ??
…. THEN creating a file i.e. wspage.css, which filename is nowhere included, and is recognized from WP, just by the body class, written inside it like so:
body.wspage_css_class .content-area { /* new custom CSS */ }
…. or did I get anything wrong ?
Tnx a lot in advance ….