Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter frodemortensen

    (@frodemortensen)

    Hi

    I have tried the filter in function.php in child theme and it do not work. I’m using Internet explorer 11 and also tried it on Firefox 4.0 without success.
    My function.php is like above.

    Any suggestions?

    Thread Starter frodemortensen

    (@frodemortensen)

    Hi

    I found out that I had just to remove this line to remove footer

    <?php do_action( ‘__after_main_wrapper’ );##hook of the footer with get_get_footer ?>

    The no entry header i fixed with this code :

    .page .site-title,
    .page .site-description {
    display: none;
    }

    Thread Starter frodemortensen

    (@frodemortensen)

    Thanks for replay ??
    I believe I explained my problem wrong. My problem is when a user GETS a mail with an url in the body, I do not want url to be active/clickable. (When I now open a mail from a user I can click the URL)

    My function.php in child theme looks like below.
    ———————————————————————-
    <?php

    function fep291_remove_announcement_settings()
    {
    if (!is_admin())
    {
    remove_action(‘fep_menu_button’, array(fep_menu_class::init(), ‘settings’));
    remove_action(‘fep_menu_button’, array(fep_announcement_class::init(), ‘menu’));
    }
    }
    add_action(‘wp_loaded’, ‘fep291_remove_announcement_settings’, 12);

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

    ?>
    ———————————————————————-

    Thread Starter frodemortensen

    (@frodemortensen)

    Here is the theme custom page i have copy. Where and what to edit to get no footer, no entry header and full width?

    ———————————————————————–
    <?php
    /*
    Template Name: Custom Page Example
    */
    ?>
    <?php do_action( ‘__before_main_wrapper’ ); ##hook of the header with get_header ?>
    <div id=”main-wrapper” class=”<?php echo implode(‘ ‘, apply_filters( ‘tc_main_wrapper_classes’ , array(‘container’) ) ) ?>”>

    <?php do_action( ‘__before_main_container’ ); ##hook of the featured page (priority 10) and breadcrumb (priority 20)…and whatever you need! ?>

    <div class=”container” role=”main”>
    <div class=”<?php echo implode(‘ ‘, apply_filters( ‘tc_column_content_wrapper_classes’ , array(‘row’ ,’column-content-wrapper’) ) ) ?>”>

    <?php do_action( ‘__before_article_container’ ); ##hook of left sidebar?>

    <div id=”content” class=”<?php echo implode(‘ ‘, apply_filters( ‘tc_article_container_class’ , array( TC_utils::tc_get_layout( TC_utils::tc_id() , ‘class’ ) , ‘article-container’ ) ) ) ?>”>

    <?php do_action( ‘__before_loop’ );##hooks the header of the list of post : archive, search… ?>

    <?php if ( have_posts() ) : ?>

    <?php while ( have_posts() ) : ##all other cases for single and lists: post, custom post type, page, archives, search, 404 ?>

    <?php the_post(); ?>

    <?php do_action( ‘__before_article’ ) ?>
    <article <?php tc__f( ‘__article_selectors’ ) ?>>
    <?php do_action( ‘__loop’ ); ?>
    </article>
    <?php do_action( ‘__after_article’ ) ?>

    <?php endwhile; ?>

    <?php endif; ##end if have posts ?>

    <?php do_action( ‘__after_loop’ );##hook of the comments and the posts navigation with priorities 10 and 20 ?>

    </div><!–.article-container –>

    <?php do_action( ‘__after_article_container’ ); ##hook of left sidebar ?>

    </div><!–.row –>
    </div><!– .container role: main –>

    <?php do_action( ‘__after_main_container’ ); ?>

    </div><!–#main-wrapper”–>

    <?php do_action( ‘__after_main_wrapper’ );##hook of the footer with get_get_footer ?>

    Thread Starter frodemortensen

    (@frodemortensen)

    Thanks. I found it ??

    When a user compose a new mail and write an URL the receiver get a mail where the URL is active and clickable. I don’t want that.

    Is it the browser, windows that do this or is it possible to change code of the front end pm to deactivate all links in body?

    Is it possible to add a code that say fep_message_body onclick=”return false” and where? I dont want to disable links anywhere else except in the mail system.

    I appropriate all help I can get ??

    Best Regards
    Frode

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