zet_kr
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Posts are cut short on front pageok replace
the_excerpt();
with
the_content();
Forum: Fixing WordPress
In reply to: Posts are cut short on front pageProbably you will replace
<?php the_excerpt(); ?>
with<?php the_content(); ?>
Forum: Fixing WordPress
In reply to: Posts are cut short on front pagePost the code of the index.php of your theme, well see what you can change.
Forum: Fixing WordPress
In reply to: List categories with post titles only, in posts pageTry
<?php wp_list_categories(); ?>https://codex.www.ads-software.com/Template_Tags/wp_list_categories
Forum: Fixing WordPress
In reply to: Can “the_meta” be unlisted?Yep. found it.
this worked for me:
<?php $key="MYKEY"; echo get_post_meta($post->ID, $key, true); ?>
(where MYKEY is the key I assigned when posting, in my case “articles”, but can be any key….)
info:
https://codex.www.ads-software.com/Custom_Fields#PostMeta_FunctionsForum: Fixing WordPress
In reply to: Is this design feasible?My sincerest thanks for all the help. That’s a wrap. I have a few other questions lining up, but i’ll take that in another thread.
!!!Gracias!!!Forum: Fixing WordPress
In reply to: Is this design feasible?Beautiful!
Forum: Fixing WordPress
In reply to: Is this design feasible?Thanks! I’ll try that!
Forum: Fixing WordPress
In reply to: Is this design feasible?Thanks, I will try to find a way to insert the correct code.
Meanwhile, I have made it work (!) by doing this tweak:
In ‘single.php’ i put:
<?php if ( in_category('15') ) { ?> //here i put all the code to make the category-15.php-page// <?php } else { ?> //here i put all the code to make the ordinary 'single.php'-page// <?php } ?>
It’s not pretty. What do you think? should I keep it like this? ??
Forum: Fixing WordPress
In reply to: Is this design feasible?or should I save this template as ‘single.php’ so permalinks open in it?
but that would defeat the purpose….hm….Forum: Fixing WordPress
In reply to: Is this design feasible?ah!
oh, but that does not work either…
https://zetterstrand.com/category/articles/??
thanks for your efforts!Forum: Fixing WordPress
In reply to: Is this design feasible?exciting.
I cant get the links open on the same page though, they keep opening on a “single” page…. hmm….
https://zetterstrand.com/category/articles/Forum: Fixing WordPress
In reply to: Moving index page to root causes Redirect ErrorYes, that’s the page that got me started in the first place ??
Anyway, I dont know what I did, but it works now. Thanks!Forum: Fixing WordPress
In reply to: Is this design feasible?Thank you very much! Most helpful!
Forum: Fixing WordPress
In reply to: Is this design feasible???
I promise to post another problem I’m having, in just a few minutes!