Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter marcoslavorato

    (@marcoslavorato)

    Solved with:

    add_filter( 'category_link','append_parameter', 10, 2 );
    
        function append_parameter( $link, $my_parameter ) {
        $my_parameter = $_GET['sort']; //get sort value
        if ( isset($my_parameter) ) {
            $link = add_query_arg( 'sort', $my_parameter, $link );
        }
            return $link;
        }
    Forum: Fixing WordPress
    In reply to: Publish error
    Thread Starter marcoslavorato

    (@marcoslavorato)

    Hello #esmi. Yes, I tried all this things. This happened after a problem with my database, because a hosting problem. I tried repair the dabatabase too, but still the same.

Viewing 2 replies - 1 through 2 (of 2 total)