markyeoj
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: archive looping<?php $Archive_Ads = array( 'Archive Ad1', 'Archive Ad2', 'Archive Ad3' ); if ($i % 3 === 0): if (function_exists('dynamic_sidebar'($Archive_Ads[rand(0, 2)]);) ) : endif; endif; ?>
whats wrong with my code? it’s not working..
Forum: Fixing WordPress
In reply to: archive loopingwell, what I want is between the three posts,I dont want to display ads after the 12th posts. I already accomplished that by using this code..
the only problem is, It only displays an ads form a single widget. I want every ad must came from the 3 widgets.
Forum: Fixing WordPress
In reply to: IE problemI post this in the css tag.. sorry if i made a mistake, but please excuse my ignorance in his forum, I’m just a newbie.. I just need some help… please..
Forum: Fixing WordPress
In reply to: IE problemIE8,,
Forum: Fixing WordPress
In reply to: designing the postthe image in the picture is the inserted image in the visual..
and the quote is the excerpt..Forum: Fixing WordPress
In reply to: limiting the text of the excerptthanks.. that works!!
Forum: Fixing WordPress
In reply to: limiting the text of the excerptForum: Fixing WordPress
In reply to: limiting the text of the excerptif I do that.. the inserted image or video will not show on the post..
Forum: Themes and Templates
In reply to: grabing the attachment from postthank you.. now I can download the attachment.. but the the image is displayed? is it my browser?
Forum: Themes and Templates
In reply to: grabing the attachment from posthello, I used the code that gave to me yesterday..
and I also added this code
<a href="<?php echo getAttach($post->ID,'video'); ?>">download video</a>
on my template in this way..but there’s an error
Parse error: syntax error, unexpected ‘;’, expecting T_PAAMAYIM_NEKUDOTAYIM in C:\xampp\htdocs\wordpress\wp-content\themes\livelongcafe\functions.php on line 35
how can I fix it? I’m not good in php..
Forum: Fixing WordPress
In reply to: Display Latest post based on a categorythanks.. it works.. but is it also applicable when the attachment is video?
Forum: Fixing WordPress
In reply to: Display Latest post based on a categoryfonglh. .thanks, I got your point.. but I think that function will display all the content of the post..
I already got it.. I have to call the content individually so that I can specify each of the content in css, the only thing remain in my post is the image that I inserted on on the post, aside from that, I already got all the stuffs I need, the title, the category, and the excerpt.. I hope I can get that one because I’m doing something in my css for that image.. so far I’m using a static image just to fill up the remaining space..thanks!
Forum: Fixing WordPress
In reply to: Display Latest post based on a categoryhow about.. inculding the atachments/insertion.. for axample a video or an image?
the only thing I know is taking the title, the category and the excerpt.Forum: Fixing WordPress
In reply to: Hiding a menuhere’s another if the the 1st one is not readable..
I registered a navigation menu on functions.phpif (function_exists('register_nav_menus')) { register_nav_menus( array( 'navlist' => 'Main Navigation Menu' ) ); }
and I called it in my sidebar.php
<?php wp_nav_menu(array('menu'=>'Main Nav Menu'));?>
now, how can I hide the other links on my sidebar menu? nad how can I show it if needed on thepage?
Forum: Fixing WordPress
In reply to: HTML Navigation Menu to wordpressYehey, go it!, thanks for the tip.. It’s very helpful.. thank you very much sir..