Support » Plugin: AnsPress - Question and answer plugin » AnsPress mess up template…

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author nerdaryan

    (@nerdaryan)

    Please look at previous questions before asking.

    create a anspress folder in your current active theme, and now copy index.php from AnsPress default theme to your newly created anspress folder.

    Now edit index.php to match with your theme, done!
    🙂

    Hi,

    Thank you for he quick response,

    I did look for similar issues in past questions, but did not find any.
    I did as you said, copied
    anspress/theme/default/index.php and places it in my childtheme called moonstone/anspress/index.php

    No difference though, and it id not just my anspress page that is messy, it is all pages on teh website.

    I hear you said I must custoimize the index.php, but I have no clue what to edit.

    If you can help, please, thanx

    Schalk

    Plugin Author nerdaryan

    (@nerdaryan)

    no, child theme will not work, place under main theme

    Yep, I did try that too, but no luck…

    Plugin Author nerdaryan

    (@nerdaryan)

    Create a folder under your main theme called anspress

    now copy your theme index.php to anspress,
    now open copied index.php, and remove while condition and place this:
    <?php include ap_get_page_template(); ?>

    done.

    enjoy

    Hi, Thanks for your help, but unfortunately this simply doesn’t work.

    I also tried my page.php, but no luck…

    <?php
    /**
     * Index Template
     *
     * Here we setup all logic and XHTML that is required for the index template, used as both the homepage
     * and as a fallback template, if a more appropriate template file doesn't exist for a specific context.
     *
     * @package WooFramework
     * @subpackage Template
     */
    
     get_header();
     global $woo_options;
    ?>      
    
        <!-- #content Starts -->
    	<?php woo_content_before(); ?>
        <div id="content" class="col-full">
    
        	<div id="main-sidebar-container">    
    
                <!-- #main Starts -->
                <?php woo_main_before(); ?>
                <section id="main" class="col-left">
    
    			<?php include ap_get_page_template(); ?>
    
                </section><!-- /#main -->
                <?php woo_main_after(); ?>
    
                <?php get_sidebar(); ?>
    
    		</div><!-- /#main-sidebar-container -->         
    
    		<?php get_sidebar( 'alt' ); ?>       
    
        </div><!-- /#content -->
    	<?php woo_content_after(); ?>
    
    <?php get_footer(); ?>

    page.php:

    <?php
    /**
     * Page Template
     *
     * This template is the default page template. It is used to display content when someone is viewing a
     * singular view of a page ('page' post_type) unless another page template overrules this one.
     * @link http://codex.wordpress.org/Pages
     *
     * @package WooFramework
     * @subpackage Template
     */
    
    get_header();
    ?>
    
        <!-- #content Starts -->
    	<?php woo_content_before(); ?>
        <div id="content" class="col-full">
    
        	<div id="main-sidebar-container">    
    
                <!-- #main Starts -->
                <?php woo_main_before(); ?>
                <section id="main">                     
    
    		<?php include ap_get_page_template(); ?>
    
                </section><!-- /#main -->
                <?php woo_main_after(); ?>
    
                <?php get_sidebar(); ?>
    
    		</div><!-- /#main-sidebar-container -->         
    
    		<?php get_sidebar( 'alt' ); ?>
    
        </div><!-- /#content -->
    	<?php woo_content_after(); ?>
    
    <?php get_footer(); ?>
    Plugin Author nerdaryan

    (@nerdaryan)

    i hope my css is messing your site then.
    In next release I will add a prefix to all my CSS code so that it wont conflict with your theme.

    Hi, Thanks.

    I don’;t want to push my luck, but do you sort of have an indication of when your next release will be.

    I’ve been looking at your plugin, and also CM Answers, but I prefer yours!

    Do you have a pro version?

    Many thanks

    Plugin Author nerdaryan

    (@nerdaryan)

    Thanks…,

    Me and my team were working on next version, it will take a month. This time I will release 0.5, which will have almost all features I have indicated.

    We have fixed theme issue already.

    After checking 0.5 properly we will release a first stable version.

    Although most of features of this plugin will be free, but you can get some addons to extend anspress.

    Hi, Thanks for replying.

    It might be too long to wait amonth, I will see with my client. Hopefully…

    If it all you can release an update with the css fix earlier, it will be great!

    Keep up the good work!

    regards

    Schak

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘AnsPress mess up template…’ is closed to new replies.