Search
 
SCRIPT & CODE EXAMPLE
 

CSS

wp query using the_post

<?php 
    query_posts(array( 
        'post_type' => 'portfolio',
        'showposts' => 10 
    ) );  
 while (have_posts()){
 		the_post(); ?>
        <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
        <p><?php echo get_the_excerpt(); ?></p>
<?php } ?>
Comment

PREVIOUS NEXT
Code Example
Css :: materialize css for react 
Css :: wordpress theme my login redirect after login 
Css :: text-align property in css 
Css :: list decoration none 
Css :: how to make background image responsive in css 
Css :: button highlight none css 
Css :: create a scrapy shell 
Css :: resize in css 
Css :: how to put mulitple conditions in media query 
Css :: add image under header html 
Css :: css selector label for 
Css :: border style css 
Css :: scss exceeded maximum budget. Budget 7.00 kB was not met by 841 bytes with a total of 7.82 kB. 
Css :: How to use css on a react icon 
Css :: how to open link in same tab in chrome 
Css :: css clicked event 
Css :: animation fade in css 
Css :: Vuetify v-data-table custom row hover background color (Light Theme) 
Css :: text dont skip next line css 
Css :: how to change border height in css 
Css :: wordpress theme Adding style.css in function.php 
Css :: shrink a div by 50% 
Css :: how to resize img in css 
Css :: css change text color 
Css :: add image to css 
Css :: css text slider animation 
Css :: git font 
Css :: css filter 
Css :: media breakpoints 
Css :: gradient btn 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =