Skip to main content
Grammar corrections and better title
Source Link
Pieter Goosen
  • 55.4k
  • 23
  • 115
  • 209

how to to show Show all post titletitles

iI want to make a parallax type link., but I have no idea how to makego about it yet but now i. I need to get all post titletitles with # link and then iI can try the parallax thing.

myMy current category page code bellow. iI want to show all post in there..

<div class="content">
    <?php if ( have_posts() ) : ?>
    
    <h2><?php single_cat_title('',true); ?></h2>
   
   
   <dl>
    <?php while ( have_posts() ) : the_post();
          
           ?>
    <dt><?php the_title(); ?></dt>
    <dd><?php the_content(); ?></dd>
    <?php endwhile; 
            ?>
    <?php else : ?>
    <?php endif; ?>
    </dl>
  </div>

iI get all post titletitles with content nicely. noNo problem .. but iI want to add one div after H2 then want to show

<ul>
<li data-slide="1">title </li>
<li data-slide="2">title </li>
<li data-slide="3">title </li>
<li data-slide="4">title </li>
...
..

</ul>

howHow could iI do that please help?

categoryCategory page will be like bellow

**Category Title**

All Post Title (list)



(under all post )

--------------
Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------

how to to show all post title

i want to make parallax type link. but no idea how to make yet but now i need to get all post title with # link then i can try parallax thing.

my current category page code bellow. i want to show all post in there..

<div class="content">
    <?php if ( have_posts() ) : ?>
    
    <h2><?php single_cat_title('',true); ?></h2>
   
   
   <dl>
    <?php while ( have_posts() ) : the_post();
          
           ?>
    <dt><?php the_title(); ?></dt>
    <dd><?php the_content(); ?></dd>
    <?php endwhile; 
            ?>
    <?php else : ?>
    <?php endif; ?>
    </dl>
  </div>

i get all post title with content nicely. no problem .. but i want add one div after H2 then want to show

<ul>
<li data-slide="1">title </li>
<li data-slide="2">title </li>
<li data-slide="3">title </li>
<li data-slide="4">title </li>
...
..

</ul>

how could i do that please help

category page will be like bellow

**Category Title**

All Post Title (list)



(under all post )

--------------
Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------

Show all post titles

I want to make a parallax type link, but I have no idea how to go about it yet. I need to get all post titles with # link and then I can try the parallax thing.

My current category page code bellow. I want to show all post in there..

<div class="content">
    <?php if ( have_posts() ) : ?>
    
    <h2><?php single_cat_title('',true); ?></h2>
   
   
   <dl>
    <?php while ( have_posts() ) : the_post();
          
           ?>
    <dt><?php the_title(); ?></dt>
    <dd><?php the_content(); ?></dd>
    <?php endwhile; 
            ?>
    <?php else : ?>
    <?php endif; ?>
    </dl>
  </div>

I get all post titles with content nicely. No problem .. but I want to add one div after H2 then want to show

<ul>
<li data-slide="1">title </li>
<li data-slide="2">title </li>
<li data-slide="3">title </li>
<li data-slide="4">title </li>
...
..

</ul>

How could I do that?

Category page will be like bellow

**Category Title**

All Post Title (list)



(under all post )

--------------
Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------
Tweeted twitter.com/#!/StackWordPress/status/458048948033585152
added 466 characters in body
Source Link
Accore LTD
  • 445
  • 2
  • 5
  • 14

i want to make parallax type link. but no idea how to make yet but now i need to get all post title with # link then i can try parallax thing.

my current category page code bellow. i want to show all post in there..

<div class="content">
    <?php if ( have_posts() ) : ?>
    
    <h2><?php single_cat_title('',true); ?></h2>
   
   
   <dl>
    <?php while ( have_posts() ) : the_post();
          
           ?>
    <dt><?php the_title(); ?></dt>
    <dd><?php the_content(); ?></dd>
    <?php endwhile; 
            ?>
    <?php else : ?>
    <?php endif; ?>
    </dl>
  </div>

i get all post title with content nicely. no problem .. but i want add one div after H2 then want to show

<ul>
<li data-slide="1">title </li>
<li data-slide="2">title </li>
<li data-slide="3">title </li>
<li data-slide="4">title </li>
...
..

</ul>

how could i do that please help

category page will be like bellow

**Category Title**

All Post Title (list)



(under all post )

--------------
Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------

i want to make parallax type link. but no idea how to make yet but now i need to get all post title with # link then i can try parallax thing.

my current category page code bellow. i want to show all post in there..

<div class="content">
    <?php if ( have_posts() ) : ?>
    
    <h2><?php single_cat_title('',true); ?></h2>
   
   
   <dl>
    <?php while ( have_posts() ) : the_post();
          
           ?>
    <dt><?php the_title(); ?></dt>
    <dd><?php the_content(); ?></dd>
    <?php endwhile; 
            ?>
    <?php else : ?>
    <?php endif; ?>
    </dl>
  </div>

i get all post title with content nicely. no problem .. but i want add one div after H2 then want to show

<ul>
<li data-slide="1">title </li>
<li data-slide="2">title </li>
<li data-slide="3">title </li>
<li data-slide="4">title </li>
...
..

</ul>

how could i do that please help

i want to make parallax type link. but no idea how to make yet but now i need to get all post title with # link then i can try parallax thing.

my current category page code bellow. i want to show all post in there..

<div class="content">
    <?php if ( have_posts() ) : ?>
    
    <h2><?php single_cat_title('',true); ?></h2>
   
   
   <dl>
    <?php while ( have_posts() ) : the_post();
          
           ?>
    <dt><?php the_title(); ?></dt>
    <dd><?php the_content(); ?></dd>
    <?php endwhile; 
            ?>
    <?php else : ?>
    <?php endif; ?>
    </dl>
  </div>

i get all post title with content nicely. no problem .. but i want add one div after H2 then want to show

<ul>
<li data-slide="1">title </li>
<li data-slide="2">title </li>
<li data-slide="3">title </li>
<li data-slide="4">title </li>
...
..

</ul>

how could i do that please help

category page will be like bellow

**Category Title**

All Post Title (list)



(under all post )

--------------
Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------

Post title
Post Content
---------------
Source Link
Accore LTD
  • 445
  • 2
  • 5
  • 14

how to to show all post title

i want to make parallax type link. but no idea how to make yet but now i need to get all post title with # link then i can try parallax thing.

my current category page code bellow. i want to show all post in there..

<div class="content">
    <?php if ( have_posts() ) : ?>
    
    <h2><?php single_cat_title('',true); ?></h2>
   
   
   <dl>
    <?php while ( have_posts() ) : the_post();
          
           ?>
    <dt><?php the_title(); ?></dt>
    <dd><?php the_content(); ?></dd>
    <?php endwhile; 
            ?>
    <?php else : ?>
    <?php endif; ?>
    </dl>
  </div>

i get all post title with content nicely. no problem .. but i want add one div after H2 then want to show

<ul>
<li data-slide="1">title </li>
<li data-slide="2">title </li>
<li data-slide="3">title </li>
<li data-slide="4">title </li>
...
..

</ul>

how could i do that please help