ba127004
Forum Replies Created
-
I have posted in the mentioned forum. http://csscreator.com/topic/change-h-tags-without-changing-format-website
Forum: Fixing WordPress
In reply to: Alternatives to posting PHP codes in posts or pagesThanks for taking time to reply me.
Lets say i created a page called customer with the following code (http://www.raima.com/customers/)
<div class=”block_customers”>
<?php //Create a new instance
$second_query = new WP_Query(array( ‘category__and’ => array(11), ‘posts_per_page’=>-1, ‘orderby’ => ‘title’, ‘order’ => ‘DESC’));
// The Loop
while( $second_query->have_posts() ) : $second_query->the_post(); ?>
<div class=”customerCategories”>
” title=”<?php the_title(); ?>”><? the_post_thumbnail(‘thumbnail’, array(‘class’ => “customerImages”)); ?>
</div>
<?php endwhile;
wp_reset_postdata(); ?></div><!–A&D–>
I was thinking not to use code in customer page. I prefer not to use any plugin for executing the page. Lets say i do not want any coding in page, and expect result, how do i do that.
Thanks
Forum: Fixing WordPress
In reply to: Alternatives to posting PHP codes in posts or pagesPerhaps, i should have written in clear way. What i mean was:
Lets say i create a page called sample: The page contents php codes. Unless i use exec php plugins the page is not going to execute the php code. I do not like to install plugins or write php codes in the page from wordpress.
<?php
//display the things
?>
Is there anyway, that i do not write php codes in sample.php, and display the result.
Is there any solutions, perhaps writing directly to database or something?
Thanks
ba127004