Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter petezeiry

    (@petezeiry)

    Thank you for your reply. Can you give me a hand? it might help others too as im sure im not the only one that gets link spam.

    I have the following that applys to comment spam, but in this case want it to apply to the user generated content, and im not sure how. The first would apply to prevent WordPress from automatically creating links out of text URLs in the user submitted content, the second to prevent HTML link tags being used in the usser submitted content.

    remove_filter(‘comment_text’, ‘make_clickable’, 9);

    function remove_links( $comment_text) { $allowed_html = array( ‘br’ => array(), ’em’ => array(), ‘strong’ => array() ); $content = wp_kses( $comment_text, $allowed_html ); return $content; } add_filter( ‘get_comment_text’, ‘remove_links’, 2);

    Forum: Plugins
    In reply to: [Search Regex] fatal error

    having the same issue

    Thread Starter petezeiry

    (@petezeiry)

    Is there anyway around that? Thanks for your responses and help

    Thread Starter petezeiry

    (@petezeiry)

    Let me clarify. Is there a way, under bulk edit, or edit, to enter multiple page id’s, at the same time?

    For example, here are 4 page id’s:
    19278,145288,145377,147598

    I would like to enter them all at the same time under assigned posts, not individually

    Thread Starter petezeiry

    (@petezeiry)

    How? It only accepts one page id at a time

    Thread Starter petezeiry

    (@petezeiry)

    Thank you for your response. The cat title is now displaying before header.

    Do you know how I can remove the second category title that shows above the bread crumbs? As shown on this category page: https://runbidsell.com/auction-listings/test-category-name/

    And, also, how I can get category description to show?

    Thanks

    Thread Starter petezeiry

    (@petezeiry)

    I hope you can answer this, as it is a major flaw, or at least tell me what files, including the css files, handle this area. Thanks

    Thread Starter petezeiry

    (@petezeiry)

    I just looked at the site “buildacampervan” mentioned in your plugins > ldd directory > screenshots. It has the same problem.

    If you look at one of there category pages
    https://buildacampervan.com/directory/web-category/accessories-parts-appliances/

    Youll notice the template calls the site title above the breadcrumbs and incorrectly words it as “directory” which is wrapped in a h1 tag.

    there category name is “Accessories, Parts & Appliances” this is what should be wrapped in the title tag with H1 tags, not the word “directory. You should really fix this as its absolutly horrible for seo and that site is probably being penalized.

    Current Version on above category link:
    <title><h1> Directory (incorrectly placed above breadcrumbs, a big no no, and same h1 (directory) on every category, probably shows as soft 404s because of it)
    <h2>Accessories, Parts & Appliances</>

    Correct way to do this would be:
    Breadcrumbs
    <H1>Accessories, Parts & Appliances<
    <p> or h2 or h3 >directory</p> or nothing as this can also just be put in the breadcrumb

    Thread Starter petezeiry

    (@petezeiry)

    Thank you for the reply. I only have one test category.

    As for the title tag, I relize I can override, but that doesnt help me without knowing whats missing. Is the template category.php?

    This isn’t drawing from the wordpress defualt category, as i tested that and its fine.

    On your category.php, were is the entry title h1 coming from, I dont see any markup.

    Here is your category.php header with no title tag

    get_header();
    ?>

    <div class=” bootstrap-wrapper ac”>
    <?php
    /**
    * ldd_before_main_content hook.
    *
    * @hooked ldd_output_content_wrapper – 10 (outputs opening divs for the content)
    */
    do_action( ‘ldd_before_main_content’ );
    $version = 2;
    ?>

    <?php echo ldl_get_header(); ?>
    <?php if(ldl()->get_option( ‘view_controls’ )==”yes”){
    if($listing_view = ldl()->get_option( ‘directory_view_type’) ==”compact”){
    $compact = “compact”;
    }
    if($listing_view = ldl()->get_option( ‘directory_view_type’) ==”grid”){
    $grid = “grid”;
    }
    if($listing_view = ldl()->get_option( ‘home_page_listing’) ==”category”){
    $category = “category”;
    }
    if($listing_view = ldl()->get_option( ‘home_page_listing’) ==”listing”){
    $listing = “listing”;
    }

    ?>
    <div class=”row view_controls”>
    <div class=”col-md-4″> </div>

    <div class=”col-md-4″> </div>

    Here is your page template which clearly shows the entry title html

    <?php
    global $geo;
    // ldl_use_google_maps() will always return false if this isn’t an array containing our lat and lng
    $geo = ldl_get_meta(‘geo’);
    //get_header();
    ?>
    <div class=” bootstrap-wrapper”>
    <?php
    /**
    * ldd_before_main_content hook.
    *
    * @hooked ldd_output_content_wrapper – 10 (outputs opening divs for the content)
    */
    do_action( ‘ldd_before_main_content’ );
    ?>
    <header class=”entry-header”>
    <!– <h1 class=”entry-title”><?php the_title(); ?>2</h1>–>
    </header><!– .entry-header –>

    <?php ldl_get_header(); ?>

    1. “>Home
    2. <?php echo get_the_term_list(get_the_id(),LDDLITE_TAX_CAT,””,”, “); ?>
    3. <li class=”active”><?php the_title(); ?>

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