Kakoma
Forum Replies Created
-
Hi @arsalantariq ,
I’ll add this comment here though it doesn’t directly relate to this multisite setup. We are running WordPress 6.1.1 but this is the error on visiting this and other mycred URLs {url}/wp-admin/admin.php?page=mycred-settings https://tinyurl.com/2edkgv9f Maybe you’d like this in a new issue?
That error is typically thrown when an admin page is for one reason or the other not created. From debugging, the add_menu_page isn’t being called which naturally results in this error. Hadn’t done further checks to see why
add_menu_page
isn’t being called in the first place but that’s the behaviour on a site with WP 6.1.1, all plugins deactivated apart from WooCommerce and mycred and with the 2023 WordPress theme active. Here’s the site’s site info: https://onetimesecret.com/secret/1zbbs8gbwk4j7vrx618bbpz6hp07u4pThat info will only be shown once then it’ll disappear.
Forum: Plugins
In reply to: [Kanzu Support Desk - WordPress Helpdesk Plugin] Creating disabled usersHi vmonroy,
Please update to the latest version, 2.2.8, and let us know if this still persistsForum: Themes and Templates
In reply to: Change theme authorThanks @sanjog. That works for a theme hosted on a particular website, not those hosted in the theme repository.
A WordPress theme repo administrator needs to re-assign the theme in the repo.
Forum: Plugins
In reply to: [AutoChimp] Automatic excerpts no longer work in WP 3.8I hope WandererLLC picks-up on this and adds that to the main code otherwise the change will be lost with an update
Forum: Themes and Templates
In reply to: Can anyone help me randomize the output of this loop?PistolDesigned, sorry for dropping the ball on this. Your logic is quite intricate; explains why responses from the community are not readily-forthcoming.
We aren’t sure what functions like this are doing: _sf_get_listing_args(); this adds to the complexity of the situationBut broadly speaking, from your code and from the current behaviour (
the results are displaying in order of date, newest to oldest, and I cannot re-sort this return
) you seem to want to randomize the results AFTER retrieving them from the database….you could look at randomizing WHAT you are retrieving from the database. In essence, the randomization is done BEFORE the retrieval.
If we are to stick to randomizing AFTER retrieval, you’d basically modify your query to pick say the 5 most recent entries then use a randomly generated variable between 0 and 4 to display one of those 5 results.
To randomize BEFORE going into the db, you could select the IDs of the (for example) 15 most recent posts and then from those, use a function that randomly returns 10 of these IDs. You then go into the Db to retrieve these 10
Does this help?
Forum: Themes and Templates
In reply to: Can anyone help me randomize the output of this loop?PistolDesigned, what currently happens when you run this?
Forum: Reviews
In reply to: [Jaguza] Wangala?? Thanks Niwaroll, I’m glad you liked the theme. It will be updated again soon
Forum: Themes and Templates
In reply to: TwentyTwelve Footer IssueJeeper7727, add this to footer[role=”contentinfo”]
float: left; min-width: 100%;
The color of the navigation is retrieved from the mother theme, Twenty Twelve, style.css, line 1577
.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a, .main-navigation .current_page_item > a, .main-navigation .current_page_ancestor > a { color: #636363; font-weight: bold; }
It is in a media query ((min-width: 600px) which means it works on screens larger than 600px (like your desktop). Check about the same location for the hover effect. Put the same in your child theme’s style.css to override the mother theme
Forum: Fixing WordPress
In reply to: No Publishing optionsHi jlmiller12s, what theme are you using? Could you also share some screenshots to give a clearer picture of the issue?
?? You are welcome giannis1992
You are welcome Moshefu
Forum: Fixing WordPress
In reply to: changing logo depending on page idHi Mtthrvy,
You seem to be using this theme, Proya. It’s a commercial theme and support is best sought from the theme author here
That said, you can comment out the lines you’ve shown (if (isset($qode_option etc) and replace them with the if statement you’ve shown
if(is_single('273')) $logo_image = get_template_directory_uri().'/img/logo2.png';
Hi giannis1992,
Open this file on your computer “C:\wamp\www\wp-content\themes\max-magazine\functions.php” and paste line 67 hereHi Moshefu,
It might help if you shared the URL to your site. That aside, please de-activate all plugins and test. This seems to be something a plugin would doAwesome!