Levothyroxin
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Solved, there were some error cause of the permalink and page structure.
Forum: Fixing WordPress
In reply to: WordPress Loop/Query is crashingI found a solution.
I deleted all custom post types an created new ones.
Now it is working.
Thank you for your help.
The actual code is now:$qa = array( "post_type" => array( "event_standard", "event_special" ) ); $q = new WP_Query($qa); if( $q->have_posts() ){ while( $q->have_posts()){ $q->the_post(); //more Code here } //END WHILE } //END IFForum: Fixing WordPress
In reply to: WordPress Loop/Query is crashingStill not working:
Fatal error: Maximum execution time of 30 seconds exceeded in PATH\wp-includes\query.php on line 749Forum: Fixing WordPress
In reply to: How to reduce space between two elements?>our .span4 has a margin-left.
So you have to remove itto reduce the space.
To exactly specify the second element you can use an extra class or use the
:nth-child(n) selector.Forum: Fixing WordPress
In reply to: How to show only posts names in category page ?!!You can use the the_-function.
For example to display only the title and post text you use this:<?php if(have_posts()) : while(have_posts()) : the_posts(); ?> <div class="post"> <h1><?php the_title(); ?></h1> <p><?php the_content(); ?></p> </div> <?php endwhile; else: ?> <p>No posts found</p> <?php endif; ?>You can search the API reference for more specific information about the_-function and how to display the content you want.
Viewing 5 replies - 1 through 5 (of 5 total)