• Thought i would put a step by step installation for beginners who may not be sure of how to get it up and running, as i had difficulty with this myself.

    1. Install WP
    2. Install plugin (WP -> Plugins -> Install new -> Anspress)
    3. Activate plugin (Plugins -> Installed Plugins -> Activate)
    *** will give you option to activate towards the end of the installation process too***
    4. Create an AnsPress page (mine had done it automatically, but incase it doesnt) Pages -> Add New -> Type [anspress] in the page and publish (the name can be changed to whatever you like, as long as the page content is still teh shortcode [anspress]
    5. **IMPORTANT** Create a new menu! Appearance -> Menus -> Create a New Menu (we will call it “SampleMenu”)
    6. In “SampleMenu”, add whatever functions you would like from Appearance -> Menus -> Anspress (Ask, Categories, Tags, Users etc)
    7. Dont forget to place your new menu somewhere; Appearance -> Menus -> Manage Locations (tab up top) -> Assign “SampleMenu” to somewhere
    8. Your page should have the Ask, Categories, Tags, Users etc whereever you placed your menu!

    And enjoy 🙂

    Sebastian

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rahul Aryan

    (@nerdaryan)

    Dear Sebastian,

    I really appreciate your help. Thanks a lot.
    I will update my readme.txt

    Thanks

    Plugin Author Rahul Aryan

    (@nerdaryan)

    Here is the latest installation instructions :

    Its very easy to install the plugin.

    * Install plugin (WP -> Plugins -> Install new -> Anspress)
    * Activate plugin (Plugins -> Installed Plugins -> Activate)
    * Create an AnsPress page (mine had done it automatically, but incase it doesnt) Pages -> Add New -> Type [anspress] in the page and publish (the name can be changed to whatever you like, but there must be [anspress] shortcode in content.
    * Add AnsPress links in your menu, Appearance -> Menus, and then drag AnsPress links in your menu, and save.
    * Your page should have the Ask, Categories, Tags, Users etc wherever you placed your menu!

    = Page Template =

    As AnsPress output its content based on shortcode, so you must edit you page template to avoid double title. So create a page template without title and set it for AnsPress base page. or simply create a page template with this name page-YOUR_BASE_PAGE_ID.php. Change the YOUR_BASE_PAGE_ID to the id of the base page.

    That’s all. enjoy 🙂

    Couldn’t understand the Page Template creation.

    I’m using a custom theme, I can share what my website’s home-template.php look like along with the custom template pages I’m using.

    <?php
     /*
    Template Name: Home Page
    */
    ?>
    
    <?php get_header(); ?>
    <?php include('slider.php'); ?>
    <?php include('content/home-content.php'); ?>
    <?php get_footer(); ?>

    and here is my Single Page Template looks like…

    <?php
    /*
    	Template Name: Simple Page Template
    */
    ?>
    
    <?php get_header(); ?>
    <?php include('content/simple-page-content.php'); ?>
    <?php get_footer(); ?>

    and here is the simple-page-content.php content

    <section class="container" >
        <hr class="vertical-space">
        <div class="twelve columns">
        <?php while ( have_posts() ) : the_post(); ?>
          <h3><?php the_title(); ?></h3>
          <?php the_content(); ?>
        <?php endwhile; // end of the loop. ?>
    
        </div>
    </section>

    Now how should I make a template page for AnsPress ?

    Plugin Author Rahul Aryan

    (@nerdaryan)

    Please read the FAQ its described clearly.
    Anspress ahve its own theme system, for overriding it create a anspress directory in your current active theme, an copy file which you want to modify from anspress/themes/default to your theme anspress.

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

The topic ‘Step by Step Installation (For beginners)’ is closed to new replies.