onethousandseas
Forum Replies Created
-
Forum: Themes and Templates
In reply to: WP is confusing threaded comments with non-threaded commentsHmm, not sure what happened, the pastebin link is actually this: https://pastebin.com/Bfb6YQsp
Forum: Fixing WordPress
In reply to: Link to main blog index if you have a static front page?Yep, thanks! ??
Forum: Fixing WordPress
In reply to: A way to turn posts into comments?Never mind. I wanted to use WP as a forum, but I didn’t really like any of the forum plugins so far. BuddyPress + bbPress seems to be working out okay.
Forum: Plugins
In reply to: How do you add extra fields in Register Plus?Hi again,
Stauss – It sort of worked ?? It shows up now in the Register Plus control panel, but it still won’t show up on the front page.
However, I may have done something different now because I decided to try out BuddyPress and bbPress after that and integrate it so right now the biggest error is:
Fatal error: Call to undefined method BP_XProfile_Field::get_edit_html() in /home/accountname/domain.com/wp-content/plugins/buddypress/bp-xprofile/deprecated/bp-xprofile-deprecated.php on line 446
It’s on the BP boards as a separate problem and BP supports custom fields so I may end up using that instead. However, Register Plus allows users to pick their own password so I might also keep that and I’ll keep you posted Ali!
Forum: Themes and Templates
In reply to: Referencing a subdirectory in a custom page template?Yep, I put it inside a subdir, but it didn’t work when I simply tried to call it through the control panel.
Forum: Themes and Templates
In reply to: Help with a dropdown form menu?Actually, figured it out.
Forum: Themes and Templates
In reply to: Widgetizing a custom sidebarSuccess! Thank you so much!
(Weird because my regular sidebars worked fine on the code I showed you but hey as long as it works ??
Forum: Themes and Templates
In reply to: Widgetizing a custom sidebarDarn, unfortunately that doesn’t work either. Any other ideas?
Forum: Themes and Templates
In reply to: How can I get date archives to display on one page?Thank you so much!
Forum: Themes and Templates
In reply to: How does WP detect theme updates?Thanks ??
Forum: Fixing WordPress
In reply to: How to return dates only on posts not pages in search results?Found my answer, here’s how it looks, marking it resolved ??
Forum: Themes and Templates
In reply to: New line break in PHP?Thank you all!
Here’s the final code I used:
<?php if($post->post_type == 'post') { echo the_time('Y')."<br />"; echo the_time('M')."<br />"; echo the_time('j')."<br />"; echo the_time('H:i')."<br />"; } else {print "Page";} ?>
Marking it resolved!
Forum: Fixing WordPress
In reply to: How to return dates only on posts not pages in search results?Got it! Customized it a little:
<?php if($post->post_type == 'post') { echo the_time('Y'); echo the_time('M'); echo the_time('j'); echo the_time('H:i'); } else {print "Page";} ?>
But does anyone know how I can fit new lines in there? I’d like it to be something like this:
<?php if($post->post_type == 'post') { echo the_time('Y'); [NEWLINE] echo the_time('M'); [NEWLINE] echo the_time('j'); [NEWLINE] echo the_time('H:i'); } else {print "Page";} ?>
Forum: Themes and Templates
In reply to: Post date/time next to title?Figured it out, CSS: https://wordpress.pastebin.ca/1515459
Inline style, index.php (as an example): https://wordpress.pastebin.ca/1515460 or it won’t validate. Otherwise using post_id is ok for a div id.
Basically it’s:
– Everything inside div
— Top div
— Entry div inside loop
— Date div inside loop
— Bottom div
— Sidebar 1 div
— Sidebar 2 divdiv.container { overflow: hidden; width: 100%; } div.left { width: 49%; float: left; } div.right { width: 49%; float: right; }
(Or whatever desired width.)
Forum: Fixing WordPress
In reply to: How to return dates only on posts not pages in search results?Thanks for replying to my question esmi ??
I inserted the code into my page and here’s what I have:
https://onethousandseas.org/testblog?s=lorem
It works well for the first few posts, but I’m not sure why it wouldn’t show up for the next 2 that are posts but not pages (only the last article is a page which contains “lorem”) which means there should be dates on the rest as well.
Here is the code I have for the page right now: