Gustav
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Favorite Posts] Do you need a new developer for this plugin?I dont think you will get a reply but it would be nice if you could support this plugin and develop it.
Make releases here in the forum and so on.
For example it would be cool to re-order favorites drag and drop or something.
Forum: Fixing WordPress
In reply to: User can hide postsHidden 4 ever not just 1 visit.
Forum: Developing with WordPress
In reply to: replace “wp_is_post_revision”Yes now it works perfectly, thank you!
Forum: Developing with WordPress
In reply to: replace “wp_is_post_revision”Made a video so you can see the error
https://www.youtube.com/watch?v=wcfHhpACvgk
What im trying to do is to convert youtube links to their original titles.
For example if there is a post called: https://www.youtube.com/watch?v=YVkUvmDQ3HY
I want it to be named Eminem – Without Me cause whats the links name.Forum: Developing with WordPress
In reply to: replace “wp_is_post_revision”I found an error.
With this function i can only create 1 post.
If i make a post all the old ones gets deleted and just the new one is showing.Forum: Developing with WordPress
In reply to: replace “wp_is_post_revision”Thanks works perfectly!
# youtube link to post title
Forum: Developing with WordPress
In reply to: replace “wp_is_post_revision”Can you show re-edited version cause i dont know how to do what you are saying. ??
Forum: Fixing WordPress
In reply to: Add 20 000 posts fastSolved it.
functions.php
wp_defer_term_counting( true );
- This reply was modified 6 years, 4 months ago by Gustav.
Forum: Fixing WordPress
In reply to: Display all revisions in a page or dashboardYou got the question wrong.
I want to show all posts in one place/page/dashbaord which does have a revision.
Title 1 (Has a revision)
Title 2 (Has a revision)
Title 3 (Doesnt have a revision – do not display)
Title 4 (Doesnt have a revision – do not display)- This reply was modified 6 years, 4 months ago by Gustav.
Forum: Developing with WordPress
In reply to: Change multiple words in title with a functionThanks its solved now!
Forum: Reviews
In reply to: [Redirect After Login] Does not workIt works there is some problem with your wordpress or your host.
Forum: Developing with WordPress
In reply to: Get current user post countSolved it.
<?php $current_user = wp_get_current_user(); if ( 0 == $current_user->ID ) { // Not logged in. } else { echo count_user_posts( $current_user->ID ); } ?>
Forum: Developing with WordPress
In reply to: Get current user post countBut what the correct code? I cant figure it out.
Tested with doesnt work.<?php $current_user = wp_get_current_user(); if ( 0 == $current_user->ID ) { // Not logged in. } else { echo $user_post_count = count_user_posts( $current_user ); } ?>
<?php $current_user = wp_get_current_user(); if ( 0 == $current_user->ID ) { // Not logged in. } else { $userid = wp_get_current_user(); echo $user_post_count = count_user_posts( $userid ); } ?>
- This reply was modified 6 years, 4 months ago by Gustav.
Forum: Plugins
In reply to: [WP Report Post] Report description not visible.Solved it.
Click on the mail address and it will apear.
Forum: Plugins
In reply to: [Flagged Content] Manual insert flag buttonIm asking cause i want to place this in front page.
Besides every title. Not content.