VelvetBlues.com
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Removing “No comments”Perhaps your theme doesn’t have that class.
Either way, simply modify the tag that looks like comments_number() or look at the documentation here: https://codex.www.ads-software.com/Template_Tags/comments_number
You will have to modify the parameters.Alternatively, your theme might use comments_popup_link() , see: https://codex.www.ads-software.com/Template_Tags/comments_popup_link
If you give me your url, I can take a look at your site and tell you where you’re likely to find that code in your theme.
Forum: Fixing WordPress
In reply to: Customizing Recent PostsYep, its definitely possible. But you’re going to have to modify your theme files and enclose the title and date tags within the permalink link. As for the colors, you’ll need to wrap the various elements in CSS tags and then style them in your stylesheet.
Are you familiar with modifying themes? What’s your blog’s url?
Forum: Your WordPress
In reply to: Comment on Design, PleaseUm.. It looks like you are using the default Kubrick theme.
Perhaps you didn’t activate your new theme?
Forum: Fixing WordPress
In reply to: Post count by categoryHmm. That’s quite a bit of code.
To simply display the category name and category count, just use:
<ul> <?php wp_list_categories('title_li=show_count=1&include='.$VarHoldingCategoryOrCommaDelimitedCategories) ?> </ul>
Of course, you’ll probably need other parameters if you want to further customize the output. See https://codex.www.ads-software.com/Template_Tags/wp_list_categories
Let me know if you have any questions. I’ve accomplished something similar on my blog. See https://www.velvetblues.com/category/web-development-blog/
Forum: Fixing WordPress
In reply to: Rearranging post ordersLook at the documentation for get_posts() at https://codex.www.ads-software.com/Template_Tags/get_posts
There are two parameters that you can use. The first is ‘order’ and it allows you to sort the posts ASC (ascending) or DESC (descending), in chronological order.
The second is ‘orderby’. Use this to order by post_title, post_date, ID, post_modified, etc…
Yes, query_posts() can be used as well. See https://codex.www.ads-software.com/Template_Tags/query_posts
Forum: Plugins
In reply to: DictionaryYeh, there’s nothing like that. Funny, I’m in the process of building something similar for one of my own website projects.
I plan to release it when done and post a link on the forums. So stay tuned.
Although, with WordPress, new plugins are coming out everyday. So you might find it sooner by some other author.
Forum: Themes and Templates
In reply to: Confusion about listing all entries of a category on a post pageYes, you can use single_cat_title()
You could also use the_category().
https://codex.www.ads-software.com/Template_Tags/the_categoryFor the rest, I’d use get_posts()
To customize its use, see:
https://codex.www.ads-software.com/Template_Tags/get_posts
There are a couple of relevant examples.Forum: Fixing WordPress
In reply to: Importing old files into new blogOMG! Light Bulb! I know what you can do. (Too bad you didn’t mention that it was on the same hosting account earlier.)
You still have the database, so you still have the posts.
Since you don’t currently have any content in your new blog, this makes importing content very easy.
Basically, you’ll do an ‘upgrade’. Simply upload new WP 2.5.1 files to your server. (You’ll need to overwrite the root files, as well as the wp-includes and wp-admin directories.) Then change your wordpress config file (wp-config) and use the database settings for your old database. This will automatically use the old posts. However, since your database was from a previous version, you’ll need to do an upgrade. (WP will automatically walk you through it when attempting to view your site.)
Once done, change all of your settings such as Title, etc… Also, if you do have content from your new blog that you want to keep, simply do an ‘Export’ before upgrading. Also, be sure to preserve the wp-content folder.
Additionally, if you are changing the domain, you will have to follow these steps: https://codex.www.ads-software.com/Changing_The_Site_URL
Let me know if you have any questions.
Forum: Fixing WordPress
In reply to: Importing old files into new blogAlright, well there are probably limits on how many items are in a feed. Fortunately, since this is WordPress, there should be archives.
Now, I don’t know how your urls are set up. But if you are using a custom permalink structure, your feed urls might look something like this:
Then you can access your archives by:
https://www.yoursite.com/2008/feed
Or if you have many posts, you’ll need to individually access each month to retrieve all posts:
https://www.yoursite.com/2008/6/feedetc…
What do you feed urls look like?
Forum: Fixing WordPress
In reply to: Double CategoriesI don’t think that there is a way around this, without modifying some core WP code. You see, a category can be identified by its name. So if you have duplicate names, WP wouldn’t know what to do in certain scenarios.
If you do find an easy workaround, please post your solution.
Forum: Your WordPress
In reply to: Blue City DesignAnd this is why you shouldn’t use free hosts…
Check out your site. It’s currently down.
Forum: Fixing WordPress
In reply to: Importing old files into new blogWell, if you have access the the feed url, then you can import as many posts as are included in that feed.
Just go to the old blog and save the feed as an XML file.
Then open your new blog. Go to Manage->Import. There you will find the option to import an RSS file. Upload and follow the instructions.
Good luck.
Forum: Themes and Templates
In reply to: listing only sub-pages in sidebarI think I understand what you are trying to do.
Since you know that you will only have three ‘parent pages’, then the simplest way to achieve your sub menus is to use the function like this:
<ul> <?php wp_list_pages('title_li=<h2>'.__('ParentPageName') . '</h2>&child_of=ParentPageID '); ?> </ul>
Note: You will have to modify this code for each menu that you plan to create. And be sure to replace ‘ParentPageID’ with the ID of each parent page, as well as ‘ParentPageName’ with the name that you’d like to display for each menu header.
Forum: Fixing WordPress
In reply to: change formatThis may depend on your theme. One quick way to change this is to simply edit your archive.php file. Replace ‘the_excerpt()’ with ‘the_content()’.
What template are you using?
Forum: Everything else WordPress
In reply to: When a blogger is satisfied..Well, I blog for myself, and I blog anonymously. But I agree with you Kevin, you do feel some bit of satisfaction when others take interest.
Perhaps you can read other related blogs and leave comments. Then maybe you can piggy back on another blogs’ traffic. ??
Good luck.