Change output URL Search module

Use action = ‘website/search’ to get the query appended… Ideally your form would look like this… <form action=”website/search”> <input type=”text” name=”filter” /> <input type=”submit”> </form> Then you can grab filter to interact with WordPress Query and display result. Hope this helps.

Infinite 301 redirects after definitions in “Redirections” plugin?

Finally got it!! The right way to define a redirection when the content of the URL (either the original or the new one) is in Hebrew, is simply define then URL-encoded. For example: /%D7%9E%D7%95%D7%A1%D7%9A-%D7%9C%D7%9E%D7%A9%D7%90%D7%99%D7%95%D7%AA.html -> /%D7%9E%D7%95%D7%A1%D7%9A-%D7%9C%D7%9E%D7%A9%D7%90%D7%99%D7%95%D7%AA/ That’s it! This works like a charm and like it should. For encoding and decoding URL special characters (like … Read more

Pull new posts using feed

All that I’m aware of out of the box is that you can limit the amount of posts in your feed. Go to Reading>Settings and change: Syndication feeds show the most recent to 10. You can also customize feeds: https://codex.wordpress.org/Customizing_Feeds

How to display a page dependent on a url parameter supplied by a form/button page?

If you would show pdf in content dynamically, which page would you like to show page, post or wherever. You have to echo your shortcode in template file. For example, you have to print like below <?php echo do_shortcode(“[shortcode pdf=”. $_REQUEST[“pdf_id’] .”); ?> http://yourwebsite.com/post-title/?pdf_id=20 //your url would be like that

Using Switch Statement to Change Image According to Last Digit of Topic ID

I would try something like this: function bg_image_topic_titlearea() { if ( ! function_exists( ‘bbp_get_topic_id’ ) ) { return false; } if ( ! $letztezifferimgs = bbp_get_topic_id() ) { return false; } $letztezifferimgs = substr( $letztezifferimgs, – 1 ); // switch … return true; } I would recommend checking to make sure the function call (bbp_get_topic_id();) … Read more

Pass post title as URL parameter

I think adding the new link by hook will be the best way. function new_nav_menu_items($items) { global $post; $post_slug=$post->post_name; $landinglink = ‘<li class=”home”><a href=”‘ .get_page_link(‘YOUR_LANDING_PAGE_ID_HERE’).’?from=’.$post_slug.'”>’ . __(‘BLAA’) . ‘</a></li>’; $items = $items . $landinglink; return $items; } add_filter( ‘wp_nav_menu_items’, ‘new_nav_menu_items’ ); Change ‘YOUR_LANDING_PAGE_ID_HERE’ with landing page ID. Cheers