Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter yatong

    (@yatong)

    Maybe you can help me here. Let me put the code here.
    header.php

    <!doctype html>
    <html class="no-js" lang="en">
    <head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title><?php bloginfo('title');?></title>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url');?>">
    <?php wp_head(); ?>
    </head>
    <body>
    
    <div class="top-bar">
    <div class="top-bar-left">
    <ul class="menu">
    <li class="menu-text"><?php bloginfo('name');?></li>
    </ul>
    </div>
    <div class="top-bar-left">
    <?php wp_nav_menu();?>
    </div>
    <div class="top-bar-right">
    <ul class="menu" id="login_register">
    <li><?php wp_loginout();?></li>
    </ul>
    </div>
    </div>
    
    <div class="callout large">
    <div class="row column text-center">
    <h1>Changing the World Through Programming</h1>
    <p class="lead">Upgrade Yourself.Learn Computer Programs.Best Of All, It's Free Here</p>
    <a href="#" class="button large">Learn More</a>
    <a href="#" class="button large">Learn Less</a>
    <p style="color:green;"><?php the_meta(); ?> </p>
    </div>
    </div>
     <div id="primary" class="site-content">
    
    	</div><!-- #primary -->

    footer.php

    <hr/>
    <footer>
    <div class="row expanded callout secondary">
    <div class="small-6 large-3 columns">
    <p class="lead">Offices</p>
    <ul class="menu vertical">
    <li><a href="#">One</a></li>
    <li><a href="#">Two</a></li>
    <li><a href="#">Three</a></li>
    <li><a href="#">Four</a></li>
    </ul>
    </div>
    <div class="small-6 large-3 columns">
    <p class="lead">Solar Systems</p>
    <ul class="menu vertical">
    <li><a href="#">One</a></li>
    <li><a href="#">Two</a></li>
    <li><a href="#">Three</a></li>
    <li><a href="#">Four</a></li>
    </ul>
    </div>
    <div class="small-6 large-3 columns">
    <p class="lead">Contact</p>
    <ul class="menu vertical">
    <li><a href="#"><i class="fi-social-twitter"></i> Twitter</a></li>
    <li><a href="#"><i class="fi-social-facebook"></i> Facebook</a></li>
    <li><a href="#"><i class="fi-social-instagram"></i> Instagram</a></li>
    <li><a href="#"><i class="fi-social-pinterest"></i> Pinterest</a></li>
    </ul>
    </div>
    <div class="small-6 large-3 columns">
    <p class="lead">Offices</p>
    <ul class="menu vertical">
    <li><a href="#">One</a></li>
    <li><a href="#">Two</a></li>
    <li><a href="#">Three</a></li>
    <li><a href="#">Four</a></li>
    </ul>
    </div>
    </div>
    <div class="row">
    <div class="medium-6 columns">
    <ul class="menu">
    <li><a href="#">Legal</a></li>
    <li><a href="#">Partner</a></li>
    <li><a href="#">Explore</a></li>
    </ul>
    
    </div>
    <div class="medium-6 columns">
    <ul class="menu float-right">
    <li class="menu-text">&copy; 2015 Coding Institution.All Rights Reserved!</li>
    </ul>
    
    </div>
    <hr/>
    </div>
    <?php wp_footer(); ?>
    </footer>
        <script src="js/vendor/jquery.min.js"></script>
        <script src="js/vendor/what-input.min.js"></script>
        <script src="js/foundation.min.js"></script>
        <script src="js/app.js"></script>
    	<script>
          $(document).foundation();
        </script>
      </body>
    </html>

    index.php

    <?php get_header();?>
     <div id="content" role="main">
    
    			<?php while ( have_posts() ) : the_post(); ?>
    				<?php get_template_part( 'content', 'page' ); ?>
    
    			<?php endwhile; // end of the loop. ?>
    
    		</div><!-- #content -->
    <?php get_footer();?>

    page.php

    <?php get_header();?>
     <?php while(have_posts()):the_post();?>
       <div class="post">
    				<h3 class="title"><a href="<?php the_permalink(); ?>"> <?php the_title(); ?></h3>
    				<p class="meta"> Posted By <a href="#"><?php the_author_posts_link();?></a> on <?php the_time('F jS,Y'); ?>
    				&nbsp;&bull;&nbsp;<a class="comments"href="<?php comments_link();?>"><?php comments_number('0 comments','1 comment','% responses');?></a>
    				&nbsp;&bull;&nbsp;<a class="permalink"href="<?php the_permalink(); ?>">Full Article</a>
    				<div class="entry"><a href="<?php the_permalink(); ?>" class="image image-full"></a>
    				</p>
    				<p><?php the_post_thumbnail('full'); ?></p>
    				  <?php the_content('Read More'); ?>
    			</div>
    	</div>		
    
     <?php endwhile;?>
     <?php comments_template(); ?>
    <?php get_footer();?>

    functions.php

    <?php
    //add thumbnails
    add_theme_support('post-thumbnails');
    
    //add menu
    add_theme_support('menus');
    
    //add Right sidebar
    add_action( 'widgets_init', 'theme_slug_widgets_init' );
    function theme_slug_widgets_init() {
        register_sidebar( array(
            'name' => __( 'Main Sidebar', 'theme-slug' ),
            'id' => 'sidebar-1',
            'description' => __( 'Widgets in this area will be shown on all posts and pages.', 'theme-slug' ),
            'before_widget' => '<li id="%1$s" class="widget %2$s">',
    	'after_widget'  => '</li>',
    	'before_title'  => '<h2 class="widgettitle">',
    	'after_title'   => '</h2>',
        ) );
    }
    ?>

    Thread Starter yatong

    (@yatong)

    I am using wp-user manager to create frontend user login and profiles.
    I will read about the codex. Thanks

    Thread Starter yatong

    (@yatong)

    Thanks a lot. I didn’t check that side

    Thread Starter yatong

    (@yatong)

    Thanks,
    I will check it out

    Thread Starter yatong

    (@yatong)

    Thanks a lot. It worked.

    Thread Starter yatong

    (@yatong)

    Thanks a lot. God Bless you.

    Thread Starter yatong

    (@yatong)

    Hi here,
    This is also off topic. I just some advice. I am using worpress and buddypress together. I have decided to go with only buddypress as it offers a suitable platform for forums. I have about 700 registered users. Is there a way I can disable worpress and not lose current users accounts?
    Your advice will be appreciated.
    Thanks

    Thread Starter yatong

    (@yatong)

    Please this is off topic.
    I need a small help here. Can you recommend a plugin to show images in a stream? I want the images in my posts to show in a stream where I can view images by clicking next. I mean I want the images to be linked in a way that I can navigate the images by clicking next/forward. Right now I can only see other images by coming back to the main window and selecting the image I want to see in a full sized form.

    I hope you can help me
    You can visit my site at http://bookerzmedia.com and see Lady Gaga’s images. Select one picture and see that the other images don’t follow in a link.

    Thanks

    Thread Starter yatong

    (@yatong)

    Thanks, mine is good too.

    Thread Starter yatong

    (@yatong)

    Cholland is right. I did the update but still not working.

    Thread Starter yatong

    (@yatong)

    Maybe the designer of that plugin should update the entire plugin so that users will re-install it.

    Thanks a lot for detecting the error.

    Thread Starter yatong

    (@yatong)

    I am not using buddypress. I am using wordpress.I want users to be able to upload images for the images to show in posts and comments.

    Thread Starter yatong

    (@yatong)

    my URL is http://bookerzmedia.com

    Thanks for your help.

    Thread Starter yatong

    (@yatong)

    Thanks James,
    But my version of worepress has both wp-config-sample.php and wp-config.php files.
    If I remane wp-config-sample.php as wp-config.php, it tells me the file already exists.
    In this case what should I do?
    Can I delete the wp-config-sample.php?
    Thanks

    Thread Starter yatong

    (@yatong)

    I did as you said but it still gave me that error so I had to delete agca custom plugin from my website. Now its ok.

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