wp_guy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: theme switcher reloaded question !I think that would be pretty complicated… You would have to edit the theme-switcher-reloaded.php and replace every “wptheme” string for “somethingelse”.
Or… if you’re not using the widget… you can just add this line on top of the file:
$_GET["wptheme"] = $_GET["somethingelse"];
That will make https://yourblog.com/?somethingelse=theme work, but again, if you’re using the sidebar widget, the links in there will still point to ?wptheme=
Hope that helps…
Forum: Fixing WordPress
In reply to: Pages: Adding the homepage?You can add it manually, I guess it’s in the header.php of your theme…
There is probably a
wp_list_pages();
line or similar somewhere… Well you can just add your link right before:<a href="<?php bloginfo("url"); ?>">Home</a>
If you feel confused, just paste your header.php in here so we can have a look ??
Forum: Fixing WordPress
In reply to: Lots of white linesI have taken a look at your code and noticed a lot of emtpty
<p class="MsoNormal">&nsbp;</p>
…After doing some research I found this forum topic: https://www.ads-software.com/support/topic/173346?replies=3
Perhaps your copy-pasting the text from MS Word?
Forum: Fixing WordPress
In reply to: Uploaded my own Logo How do I make it an active link?I *think* that should be:
</style> <?php wp_head(); ?> </head> <body> <div id="page"> <div id="header"> <div id="headerimg"> </div> </div> <hr />
Forum: Fixing WordPress
In reply to: Multi Pages – seperate catagories questionAt least that’s how I would do it ??
Forum: Fixing WordPress
In reply to: Display Newest SubscribersOk… I found something better:
<?php $subscribers = $wpdb->get_results("SELECT ID, user_nicename from $wpdb->users ORDER BY user_registered DESC"); for($i=0;$i<4;$i++){ echo "<li>".$subscribers[$i]->user_nicename."</li>"; } ?>
Forum: Fixing WordPress
In reply to: Display Newest Subscriberswp_list_authors works for that too… you just need to set the ‘hide_empty’ parameter to false (because subscribers don’t write posts). Something like this:
<?php wp_list_authors(“hide_empty=0”); ?>
The only problem now is that there doesn’t seem to be a way to limit the number of subscribers you want to show.
Forum: Fixing WordPress
In reply to: How to show the pages with numbers? (pagination)Check out this plugin: https://www.ads-software.com/extend/plugins/wp-pagenavi/
Forum: Fixing WordPress
In reply to: Multi Pages – seperate catagories questionThat would mostly be a theme thing. You can file your music posts into the music category, the art posts into the art category… and have a special category for the front page.
Forum: Fixing WordPress
In reply to: Uploaded my own Logo How do I make it an active link?Try opening the header.php file of your theme and changing this part:
<div id="headerimg"> </div>
for:
<a href="<?php bloginfo("URL"); ?>"> <div id="headerimg"> </div> </a>
Hope that helps!
Forum: Fixing WordPress
In reply to: Can I hide the tags from viewersYou can edit your theme files, locate where it says:
<?php the_tags(); ?>
or similar, and delete those lines.Forum: Fixing WordPress
In reply to: Problem with text widgetsIt’s in wp_options, look for a row where the option_name field looks like “widget_text”
Forum: Fixing WordPress
In reply to: can’t find the server at www.myblog.comwp-login.php.If you have access to your phpMyAdmin… try changing the “siteurl” and “home” rows in the wp_options table to reflect the right URL.
There is more info here: https://codex.www.ads-software.com/Moving_WordPress
Forum: Fixing WordPress
In reply to: RSS feed for specific postsWordPress supports category feeds. That means that if your Market Updates articles are in a particular category (which is the case) then you can have an RSS for just the Market Updates at:
https://blog.goldassets.co.uk/category/market_update/feed
Now, I don’t know how would that work for the ‘stories’ you mention.
Cheers!
Forum: Plugins
In reply to: Modifying output of wp_list_authorsI guess the only way would be to query the database directly…
Or parsing the output of the wp_list_authors() function and then ordering…
I know… I’m not being very helpful ??