reti
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: isset, display excluded posts with a tagSolved. It’s need to write “null” nstead of “404”.
- This reply was modified 6 years, 3 months ago by reti.
Forum: Fixing WordPress
In reply to: get_the_term_list – how to exlude a term?Solved. It’s need to add a condition: if ( $term->slug != “whatever” )
$terms = get_the_terms( get_the_ID(), 'my_taxonomy_name' ); if ( ! is_wp_error( $terms ) && ! empty( $terms ) ) { foreach ( $terms AS $term ) { if ( $term->slug != "whatever" ) { $name = $term->name; $link = add_query_arg( 'fwp_my_facet_name', FWP()->helper->safe_value( $term->slug ), 'http://example.com/page_for_facets/' ); echo "<a href='$link'>$name</a><br />"; // very basic output of link, change as need } } }Forum: Fixing WordPress
In reply to: get_the_term_list – how to exlude a term?Thank you for your answer. I have this function:
$terms = get_the_terms(get_the_ID(), 'hierarchical_tags'); if (!is_wp_error($terms) && !empty($terms)) { echo '<h5 style="margin-bottom: 5px; margin-top: 10px;">Tags: </h5>'; foreach ($terms AS $term) { $name = $term->name; $link = add_query_arg('fwp_tags', FWP()->helper->safe_value($term->slug), 'https://www.freuciv.com/'); echo "<a href='$link'>$name</a><br />"; } }It works correct. And now I should use this, right? If yes I don’t know how. I would like to exclude the tag named ‘Staat/Nation’.
Forum: Fixing WordPress
In reply to: get_the_term_list – how to exlude a term?OK, I’ll check it out and let you know.
Forum: Plugins
In reply to: [Custom Post Type UI] how to get information about a post taxonomy?Thanks a lot! It works good! I’m very grateful for your help. Your plug is excellent!
Forum: Plugins
In reply to: [Redirection] redirection to the old addressOK, it’s already working, so I understand it’s just need to wait. The redirection was from post address to search result. I updated this result, but I was redirected to the old one.
- This reply was modified 6 years, 4 months ago by reti.
Forum: Fixing WordPress
In reply to: where is the PHP code that generates an element?Thank you very much for your answer. Look at the screenshot. If I understand correctly, this plugin creates a list of all PHP files used on the page I’m browsing. Honestly, it’s still looking for a needle in a haystack. I need a solution that gives me as much comfort as devtools for HTML/CSS/JS inspection. I marked with a red rectangle the element that interests me. Now I want to know exactly where it came from.
Forum: Fixing WordPress
In reply to: how to replace the selected post URL with another?Thank you very much! You’ve helped me a lot. This solution is very good.
Forum: Fixing WordPress
In reply to: home page or home/page/number/, conditionalThanks a lot for your answer. I use https://bimber.bringthepixel.com/ I’ll contact support soon.
Forum: Plugins
In reply to: [Custom Post Type UI] how to get information about a post taxonomy?Thanks a lot. I’ll check it out and let you know.
Forum: Plugins
In reply to: [Multi-column Tag Map] sorting a <ul> listLinks already work π I’m impressed, good job! Thx!
- This reply was modified 6 years, 5 months ago by reti.
Forum: Fixing WordPress
In reply to: PHP/JS in post titleThanks for your answer. I’ll check it out and let you know π
Forum: Plugins
In reply to: [Multi-column Tag Map] sorting a <ul> listHi,
thanks for your answer. Unfortunatelly your links don’t work π- This reply was modified 6 years, 5 months ago by reti.
Thanks a lot for this information.
Forum: Fixing WordPress
In reply to: Automatic YT thumbnails with play buttonHi George,
Thanks for the answer. I have many types of posts on my blog and I don’t want to change my theme grid, so I don’t think any of these plugins are helpful for me. Unless I missed something.
Regards,
Rudolph