Activity Stream
48,167 MEMBERS
6761 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1.     
    #1
    Member

    Default How can I add 'Edit' and 'Trash' links in my posts

    how can I add edit link and trash link my wordpress post on multi page and single page

    See the image. I want to add Red Bold Edit And Trash on multi page and single page

    Moderated Message:
    NSFW image, please provide a different example
    ILHFFS Reviewed by ILHFFS on . How can I add 'Edit' and 'Trash' links in my posts how can I add edit link and trash link my wordpress post on multi page and single page See the image. I want to add Red Bold Edit And Trash on multi page and single page NSFW image, please provide a different example (y) Rating: 5
    removed

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    scrls.co.uk
    do you mean on your main page you want 2 links that are edit and trash ?
    then also on the single post part ?

  4.     
    #3
    Gone off that Molly
    Website's:
    thefaggotstore.org
    Add this code anywhere underneath the title in single.php

    PHP Code: 
    <?php edit_post_link__'Edit this entry''mav' ), '<span class="edit-link">''</span>' ); ?>
    That will make it show the edit link on ever post.

  5.     
    #4
    Member
    oh sorry Phamous I did mistakenly NSFW pic.

    thanks and what about trash link and how can I do this on main page too
    removed

  6.     
    #5
    Member
    Website's:
    0DayBlog.com ParadiseW.net Blog4Whores.com FilmsTube.org
    Hi, you can install this:
    Code: 
    http://wordpress.org/extend/plugins/enhance-admin-bar/
    You can enable/disable custom functions.
    Image:
    Click me

    I'll upload for you(paid), PM me.

    I need payza2paypal exchanged(urgent!)

  7.     
    #6
    Member
    thanks stefan-te but Move to Trash on multi page may lead to delete all post.
    removed

  8.     
    #7
    Member
    thanks stefan tearse for that sharing

  9.     
    #8
    Member
    Website's:
    0DayBlog.com ParadiseW.net Blog4Whores.com FilmsTube.org
    Quote Originally Posted by ILHFFS View Post
    thanks stefan-te but Move to Trash on multi page may lead to delete all post.
    The options show on single post only.

    No problem shufol.
    Click me

    I'll upload for you(paid), PM me.

    I need payza2paypal exchanged(urgent!)

  10.     
    #9
    Member
    I want this function for multi page. I have to check and delete lots of post. In my blog there are 32000 post and and this is only possible on multi page. I can't do this on single page. Its taking too much time. So I need this two option on my multi page.
    removed

  11.     
    #10
    Gone off that Molly
    Website's:
    thefaggotstore.org
    Add this in functions.php

    PHP Code: 
    function wp_delete_post_link($link 'Delete This'$before ''$after '') {
        global 
    $post;
        if ( 
    $post->post_type == 'page' ) {
        if ( !
    current_user_can'edit_page'$post->ID ) )
          return;
      } else {
        if ( !
    current_user_can'edit_post'$post->ID ) )
          return;
      }
        
    $message "Are you sure you want to delete ".get_the_title($post->ID)." ?";
        
    $delLink wp_nonce_urlget_bloginfo('url') . "/wp-admin/post.php?action=delete&amp;post=" $post->ID'delete-post_' $post->ID);
        
    $htmllink "<a href='" $delLink "' onclick = \"if ( confirm('".$message."' ) ) { execute(); return true; } return false;\"/>".$link."</a>";
        echo 
    $before $htmllink $after;

    And then add this next to the edit link in single.php

    PHP Code: 
    <?php wp_delete_post_link('(trash)''<div class="post-edit">''</div>'); ?>
    It'll ask you if you're sure you want to delete the post just in case you accidentally click delete

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Similar Threads

  1. [Buying] Script To Edit Pintrest Posts
    By planck in forum Marketplace (Buy, Sell and Trade)
    Replies: 0
    Last Post: 13th May 2012, 04:54 PM
  2. Which poster can edit the posts?
    By Szabortusz in forum General Discussion
    Replies: 2
    Last Post: 17th Jun 2011, 11:21 PM
  3. Users not able to edit there own posts
    By Lordiez in forum vBulletin
    Replies: 5
    Last Post: 27th Mar 2011, 06:42 PM
  4. [Hiring] Someone To Edit My Posts (Inside .txt Files)
    By proXace? in forum Completed Transactions
    Replies: 2
    Last Post: 15th Mar 2011, 01:24 PM
  5. How do users can edit Posts icon?
    By duonglg in forum vBulletin
    Replies: 3
    Last Post: 23rd Feb 2011, 10:45 PM

Tags for this Thread

BE SOCIAL