WordPress.org

Ready to get started?Download WordPress

Forums

AnsPress - Question and answer plugin
AnsPress mess up template... (12 posts)

  1. Schalk Joubert
    Member
    Posted 5 months ago #

    Hi,

    I would love to use AnsPress, But as soon as i actovate the plugin, it screws up my template...

    See Screenshot:https://www.evernote.com/shard/s289/sh/1c025c57-213e-48be-8a32-8312b6655c5f/43d612244f851c86ab653ea0c29f07af

    Site: moonstone.co.za
    Theme: Canvas ( WooThemes )
    Lates WP & Plugin and Theme

    Many thanks

    https://wordpress.org/plugins/anspress/

  2. nerdaryan
    Member
    Plugin Author

    Posted 5 months ago #

    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!
    :-)

  3. Schalk Joubert
    Member
    Posted 5 months ago #

    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

  4. nerdaryan
    Member
    Plugin Author

    Posted 5 months ago #

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

  5. Schalk Joubert
    Member
    Posted 5 months ago #

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

  6. nerdaryan
    Member
    Plugin Author

    Posted 5 months ago #

    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

  7. Schalk Joubert
    Member
    Posted 5 months ago #

    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(); ?>
  8. Schalk Joubert
    Member
    Posted 5 months ago #

    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(); ?>
  9. nerdaryan
    Member
    Plugin Author

    Posted 5 months ago #

    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.

  10. Schalk Joubert
    Member
    Posted 5 months ago #

    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

  11. nerdaryan
    Member
    Plugin Author

    Posted 5 months ago #

    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.

  12. Schalk Joubert
    Member
    Posted 5 months ago #

    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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags