Gustav
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Random order blog posts@nicolasanderes are those posts or pages and what theme do u use?
Forum: Developing with WordPress
In reply to: Edit Header MenuFind the .css file usually its style.css
wp-content/themes/yourtheme/style.css
Forum: Developing with WordPress
In reply to: Random order blog postsTry searching random post plugin.
Maybe try this?
https://www.wpbeginner.com/wp-tutorials/how-to-display-random-posts-in-wordpress/Or this?
https://stackoverflow.com/questions/8672401/get-random-post-in-wordpress- This reply was modified 3 years, 10 months ago by Gustav.
Forum: Developing with WordPress
In reply to: Allow comments after x hoursForum: Developing with WordPress
In reply to: Allow comments after x hours@corrinarusso Well just when a post is published ( not made – not pending – not draft )
Post published -> Check time -> Open comments after x hours or x days on that post.
I think its enuff.
Forum: Fixing WordPress
In reply to: 5 persons need to approve post before its publish@vladytimy perfect plugin. Thanks!
Forum: Developing with WordPress
In reply to: Only admin can view images in posts?@sterndata how does that info help me?
Simple < if admin > show images in posts <>
< if none admin > hide images in posts <>
- This reply was modified 3 years, 10 months ago by Gustav.
Forum: Developing with WordPress
In reply to: Only admin can view images in posts?@sterndata all posts are hold as pending. Users need to upload minimum 1 image in their post before i can accept the post and publish it.
After i accept the post i need to hide that image for all users but not admin.
I cant delete that image before i publish it i need that image to be in the post for future inspect. So i need to make so only admins can see images in posts.
- This reply was modified 3 years, 10 months ago by Gustav.
Forum: Developing with WordPress
In reply to: Only admin can view images in posts?@sterndata The images are very sensetive so i dont want oter users to see them. Not adult content! Before the post is accepted i need to see some images. The yare sensetive so i need to make it so only admin can see them.
Good idea but this plugin maker is offline!
Tell me if you find a plugin for this!
Forum: Everything else WordPress
In reply to: Where can i edit tag output? What file?@gappiah Thanks! Solved!
Forum: Developing with WordPress
In reply to: If x comments move to other category@joyously Yes i think so ( allways check comments count and move the post that post has x comments or so (sorry very bad english ) )
It also can be done with a button doesnt need to be cron job. But check all posts! Not 1 by 1.
PS! I wrote wrong in first post about “Y” function. I ment if 3 comments or more move to category Y.
What happens to the category that the post is already in?
Option 1. Allways check comment count and move if x comments.
Option 2. If post is in category Y do nothing with that post.
Option 3. Allways check comment count but exlude category Y.Or maybe i missunderstood you.
The categories isnt effected (only posts are moved to specific category)
Does your permalink structure have the category in it?
Yes and no. Im building the site so i can choose.Would it be easier to use tags instead?
No. I use 0 tags on the site.@bcworkz sorry just telling me that doesnt help me im a begginner ++ i know some stuff but not so advanced.
Forum: Fixing WordPress
In reply to: Theme on mobile don’t load on PC is okThe theme has no support anymore.
I had this theme like 6 months ago an everything was ok but it was hosted on webhost.
I think it has something to do with localhost. I mean i host it on my own pc. I think that thats what the problem is. But i dont understand what might cause this.
- This reply was modified 3 years, 10 months ago by Gustav.
Forum: Fixing WordPress
In reply to: Max post per userOk so i put this code in the front end plugin and it shows correct.
If i have more then 10 posts it shows >10.
If less then 10 posts it shows <10.Maybe i can come around this in some one?
Does someone has an idea?
Like if >10 hide widget.<?php $count = count_user_posts( $current_user->ID ); $current_user = wp_get_current_user(); if ( $count >= 10) { echo ">10"; } else { echo "<10"; } ?>
Forum: Fixing WordPress
In reply to: Max post per userOk still not solving it.
So lets think.
Get user post count.
If user post count 100
Do this
else
Do this