Facebook
From Fizz, 3 Years ago, written in HTML5.
Embed
Download Paste or View Raw
Hits: 153
  1. register_post_type('bigopty-news',array(
  2.  
  3. 'labels'=>array(
  4. 'name'=>'বিজ্ঞপ্তি',
  5. 'add_new_item'=>'নতুন বিজ্ঞপ্তি যুক্ত করুন'
  6. ),
  7. 'public'=>true,
  8. 'supports'=>array('title'),
  9. ));    
  10.        
  11.    
  12.    
  13. <div class="mar1">
  14.                <div class="top_scrool_1">
  15.                   <p> বিজ্ঞপ্তি:  </p>
  16.                </div>
  17.                <div class="bottom_scrool_2 bottom_scrool_3">
  18.                   <marquee scrollamount="7" direction="left" scrollamount="4px">
  19.                      <?php
  20.                        $marqueenames=new Wp_Query(array(
  21.                         'post_type'=>'bigopty-news',
  22.                          'post_per_page'=>-1
  23.                         ));
  24.                         ?>
  25.                      <?php
  26.                        while($marqueenames->have_posts()):$marqueenames->the_post();?>
  27.                       <div class="icon-img">
  28.                                                   <img src="http://noborup.tv/wp-content/uploads/2020/07/fav.png">
  29.                                           </div>
  30.                      <p><?php the_title();?></p>
  31.                      <?php endwhile;?>
  32.                   </marquee>
  33.                                    
  34.                </div>
  35.             </div>
  36.