fatiima
Forum Replies Created
-
Hi,
You don’t need to modify
category.phpfor this — you can handle it cleanly viafunctions.phpusingpre_get_posts.You can target the specific category and apply ordering by modified date like this:
function modify_category_query( $query ) {
if ( !is_admin() && $query->is_main_query() && is_category( YOUR_CATEGORY_ID ) ) {
$query->set( ‘orderby’, ‘modified’ );
$query->set( ‘order’, ‘DESC’ );
}
}
add_action( ‘pre_get_posts’, ‘modify_category_query’ );For the RSS feed, extend the condition:
if ( $query->is_feed() && is_category( YOUR_CATEGORY_ID ) )
This way both the category archive and its feed will follow modified date in descending order.
Forum: Networking WordPress
In reply to: network admin not foundHey,
This usually happens when the system can’t detect or connect to a configured network administrator or domain. A few things you can check:
- Make sure your device is properly connected to the network
- Verify if you’re logged in with the correct admin or domain account
- Check network settings (DNS / IP configuration)
- Try restarting your router or switching networks
- If it’s a managed system (office/school), the admin permissions might be restricted
If the issue is on a local setup, resetting network settings or reconnecting to the network often fixes it.
Forum: Fixing WordPress
In reply to: Clean database after been hackedHi Erwin,
Simply removing that code from the database won’t guarantee your site is safe. If a hacker was able to inject code and create admin users, there may be other hidden backdoors in files or database entries.
The safest approach is to restore a clean backup (if available), then update all passwords (admin, FTP, database, hosting) and regenerate security keys. Also make sure WordPress core, themes, and plugins are fully updated and scan the site with a security plugin.
If no clean backup exists, a full manual cleanup is possible but can be time-consuming and easy to miss something.
Forum: Fixing WordPress
In reply to: Relational DB with GUIHi David,
What you’re trying to build is more like a simple database app rather than a standard form setup. Most free form plugins won’t fully handle relational data (like linking markets with payments) out of the box.
You could try using plugins like Custom Post Types + Custom Fields (for example, create “Markets” and “Payments” as separate post types and link them using a relationship field). Some free tools like ACF (limited) or Pods can help with this.
Alternatively, if you’re comfortable with a bit of coding, creating a custom solution using custom tables or post meta might give you more flexibility.
Hope this points you in the right direction
Hi,
This seems like a server-side issue causing the 500 error, which is preventing Jetpack from connecting properly. You can try disabling plugins (especially Jetpack), switching to a default theme, and checking your server error logs. Also ensure XML-RPC is enabled and not blocked.
If the issue continues, it’s best to contact your hosting provider to check server-level errors.