Why do all links on my WordPress site show me the homepage?

It looks like you’ve constructed an URL relative to the template PHP you’re rendering, i.e. this code is in wp-content/themes/mycustom/index.php you want to load wp-content/themes/mycustom/admin/dashboard.php => relative URL is admin/dashboard.php? That’s not correct. URLs are relative to the URL the user is currently on in their browser, which may be /, or /category/post-slug, or /year/month/post-slug, … Read more

WordPress homepage shows default theme after migration – logged-out users see different content

The Theme setting issue after migration. Here are a few steps you can follow: This issue is WordPress side if migrated WordPress theme and settings are removed or reset. Homepage Settings: Go to Settings → Reading in the WordPress dashboard and ensure that your homepage is set to display a specific page or the latest … Read more

How to specify a post category for the home (posts) page?

You really should be using custom posts to do what you’re trying to do, but to answer your question here’s a solution (put this in your functions.php file): add_shortcode( ‘job-posts’, ‘rt_list_posts_by_category’ ); function rt_list_posts_by_category($atts) { $a = shortcode_atts( array( ‘link1’ => ‘#’, ‘link2’ => ‘#’, ‘link3’ => ‘#’, ), $atts ); // arguments for function … Read more

Problem getting anything at all showing on my homepage

It sounds like you’ve taken the correct steps to set a custom page as your homepage in WordPress, but you’re encountering an issue where the expected page isn’t displaying. Let’s troubleshoot this: Check Cache and Plugins: If you’re using caching plugins (like WP Rocket), clear your cache. Sometimes, caching plugins can show an outdated version … Read more

Make category page the wordpress homepage (not blog)

This happens because WordPress doesn’t have provide multi-lingual functionality by default. When you call get_category_link( 22 ), you’ll get exactly that – the link for category with the ID of 22. WordPress isn’t aware that there might be a translation for the term and it should be used instead. The multi-lingual support needs to come … Read more

newbie help with home page

That is usually the responsibility of your theme, so contact the theme author for support. (Theme support is out of scope here.) You may be able to do some CSS tweaking with ‘additional CSS’ in the theme. Use the browser’s Inspector (F9) to dig into that area to find the problem.