Imre
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Twitter Embed – Does not always renderAfter a day or less it stops working. Before it was working.
Here is my screenshot: https://snipboard.io/5jy9h8.jpg
EDIT: Yes, it works on some sites and not in our live environment. For example in my local development the Twitter’s tweet is rendered, but it stops working after sometime in our live site.
- This reply was modified 2 years, 6 months ago by Imre.
Forum: Plugins
In reply to: [Flamingo] Unable to See or Edit Email MessageSolution is to disable plugins or remove any restrictions from code, which alters WordPress user roles access.
Correction: Top 10 Pages Titles are fine, but URL is broken.
Site URL is https://mydomain.com
WP URL is https://mydomain.com/wordpress
- This reply was modified 7 years, 8 months ago by Imre.
Forum: Developing with WordPress
In reply to: Ordering Posts and Terms in ASC orderOnce I get them into single array and use usort, how do I output them. Is it possible to out post and terms with one loop? If yes then which loop should I use?
Forum: Developing with WordPress
In reply to: Ordering Posts and Terms in ASC orderI forgot to clarify my problem correctly. So let me explain a bit more.
I have custom post type called products and taxonomy called categories. Some products have taxonomies terms and child terms (Product categories and subcategories). Some products do NOT have taxonomies at all, but still are in products post type. My goal is to output ONLY taxonomy terms (only categories and NOT subcategories) and custom post with NO taxonomy. They must be sorted by alphabetical order, since outputted objects use the same HTML elements with the same CSS classes.
Back to your code example. I changed them in your code example and created a loop to output them. Problem was that it didn’t show posts with no taxonomy.
Why didn’t this query show posts with no taxonomy. I tried removing this line of code:
AND x.taxonomy = 'categories'
But still didn’t show posts with no category. Unfortunately I’m not that skilled with WordPress and PHP. Could you help me out?