webipsum
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Advanced Excerpt] How to delete the space occupied by the image?Sorry.
My Mistake!
The spaces were blank paragraphs in the ‘post’ and not the size of images.
Thank you for understanding.Tks David.
Works in IE?Forum: Fixing WordPress
In reply to: How do I display the other posts, without refreshing the page?Please, any tips?
I have a category that has 5 ‘posts’.
I want to display the most current ‘post’ and the links of the other four ‘posts’.
But when click one of the four links, would like the content of the page (current ‘post’), updated without page refresh.
I’m not having success.
Tks.Forum: Plugins
In reply to: I am using FTP with FilleZilla. Which plugin to upload directly dashboard?Hi. Tks esmi.
There was a plugin: MyFTP, but is outdated (discontinued).
I will continue using the FTP client outside the Dashboard.Forum: Plugins
In reply to: I am using FTP with FilleZilla. Which plugin to upload directly dashboard?I think that what you are asking if how to upload images to the banners folder. You can just use FTP for this.
Tks, Christine. 🙂
That’s what I’m doing.
I asked about a plugin, not to leave the dashboard to make ftp. Today I use FileZilla.
Very grateful for your kind attention.
Note: I do not upload in the Media Section, as it has other contents.🙁
I gave a solution with a loop to get the previous posts and another loop to get the next posts …
🙂RESOLVED!!!
esmi, if you can help me in this item … 🙂
http://wordpress.org/support/topic/how-select-the-posts-from-the-current-time-and-the-post-preceding?replies=1#post-2598209
Tks…Again, thank you, esmi.
<?php $cat_names = array(); foreach((get_the_category()) as $category) { $cat_names[$category_cat_id] = $category->cat_name; } ksort( $cat_names ); foreach( $cat_names as $cat_name ) { echo $cat_name . ' '; } ?>It did not work …
I adapted:
<?php $cat_names = array(); foreach((get_the_category()) as $category) { $cat_names[] = $category->cat_name; } sort( $cat_names ); foreach( $cat_names as $cat_name ) { echo $cat_name . ' '; } ?>To:
<?php $cat_names = array(); foreach((get_the_category()) as $category) { $cat_names[] = $category->cat_ID.$category->cat_name; } sort( $cat_names ); foreach( $cat_names as $cat_name ) { echo substr($cat_name,3) . ' '; } ?>It worked perfectly.
Thank you very much.
Thanks, esmi.
This is almost what I need …
I need to display ‘$ category-> cat_name’ but sorted by ‘$ category-> cat_id’.The question is …
Example:
“Post Number 1”
It belongs to categories:
Monday (ID 11)
Tuesday (ID 12)
Wednesday (ID 13)
Thursday (ID 14)
Friday (ID 15)
Saturday (ID 16)
Sunday (ID 17)
When the loop displays the “Post Number 1”, example:<?php the_title(); ?> <?php the_content(); ?> <?php the_category(' '); ?> or <?php foreach((get_the_category()) as $category) { echo $category->cat_name . ' ';} ?>The categories are shown in the following order (alphabetically):
Friday Monday Saturday Sunday Thursday Tuesday WednesdayAnd not by ID.
Monday Tuesday Wednesday Thursday Friday Saturday SundayTks.
Thanks for your reply, but I can only select a “slug” and I would do it for the title.
keesiemeijer.
It worked wonderfully.
Thanks so much!Forum: Fixing WordPress
In reply to: I need an popup with player audio.macfee.
I’m anxious and waiting for help from a forum user.
🙂Forum: Fixing WordPress
In reply to: How to limit the display by number of words? (Title in the Loop)functions.php:
function title_excerpt($limit_in_words) { $excerpt_array = explode(' ', get_the_title(), $limit_in_words - 1); $excerpt = implode(' ', $excerpt_array); // manipulate the string if you need to return $excerpt; }index.php:
<?php title_excerpt(10); ?>I tested, but no word of the title was displayed.
Forum: Fixing WordPress
In reply to: How to limit the display by number of words? (Title in the Loop)I am using to limit the display of the content.
Functions.php:function excerpt($limit) { $excerpt = explode(' ', get_the_content(), $limit); if (count($excerpt)>=$limit) { array_pop($excerpt); $excerpt = implode(" ",$excerpt).'...'; } else { $excerpt = implode(" ",$excerpt); } $excerpt = preg_replace('<code>\[[^\]]*\]</code>','',$excerpt); return $excerpt; }Index.php
<?php echo excerpt(70); ?>But I’m not having success in the title.
I’m not able to write the correct code.Tks for your attention.