Skip to content

u/theFletch

In this archive from Feb 2011 to Dec 2023

43
posts
141
comments
0
media
414
score

Multisite - site loosing site URL

I have a multisite install where one site, the second site I setup on the network, is loosing the site URL. Not the whole thing but network site name. For example, example.com/site2 after a period of time changes back to example.com. Everything works but when it changes I can't access the admin of s...

0 points2 comments
Open on Reddit

Problem with site url in multisite.

I've got a multisite install that I started to have some weird problems with after I did a clean install and update from an old multisite install. There are only two sites on the multisite and it's directory based. On the second site (not primary) the Siteurl keeps losing the directory. For example,...

1 points0 comments
Open on Reddit

Question about columns and loops.

So I've got a custom post type that I am using in a Foundation block grid. They are setup three per column. I'm trying to wrap my head around how to get the first three, than the next three, and so on. Example: <?php for each ($video as $videos): ?> <ul class="small-blockgrid-3"> <li>video 1</li> <l...

1 points2 comments
Open on Reddit

Q: Randomize a feed with SimplePie

I'm trying to randomize an RSS feed with SimplePie. I would like to have every item placed in a random order each time. Right now I'm passing a random number to start the feed on and that might work but when it gets close to the end of the feed it only displays, say 4 items, over and over. I'd reall...

1 points7 comments
Open on Reddit

Question about auto refreshing an RSS feed.

I've got a feed I've parsed with SimplePie and it's displayed as a scrolling news feed with jquery. Right now I'm returning 20 items. What I would like to do is to refresh the entire page once the scrolling news feed has gone through all 20 items. Is this possible? In case anyone is wondering what t...

6 points12 comments
Open on Reddit

Need advise on a "rental" type site.

It's actually a storage unit site. The owner wants to be able to change the status of a unit from rented to open. Are there any plugins that I could work with on this? Actually it would be nice if I did a floor plan of the units and just toggled the background color from the backend. Suggestions?

4 points15 comments
Open on Reddit

What's the best way to do this (echo php/html)?

So in the Wordpress functions.php I have a function that inserts a copyright into the footer. What's the best way to echo this? Warning: PHP noob. <?php echo date('Y'); ?> <a href="<?php echo home_url(); ?>/" title="<?php bloginfo('name'); ?>" rel="home"><?php bloginfo('name'); ?> </a> Here's the fu...

0 points4 comments
Open on Reddit

Custom RSS widget??

I need a custom RSS widget to display X amount of Facebook status updates. The default Wordpress RSS widget works but I would like a little more control over it. I really would rather write a widget for this as opposed to using a plugin but I'm open to suggestions.

1 points4 comments
Open on Reddit

(PHP NOOB) Looking for a little database help.

So, essentially I'm trying to create a searchable directory. I would like to have a search field search by name, phone, etc. and output results on the same page. I'm thinking some sort of website widget. First off, here's my test connection. mysql_connect ("localhost", "root","") or die (mysql_error...

17 points29 comments
Open on Reddit

Looking for some advice, Stock Photography.

I work as a designer at a small company. I'm the only designer and the company has never really had an on-staff designer before. I'm forging new ground. We don't have a huge budget for stock photography but we do have some equipment and I owned my own photography business for several years. My quest...

3 points2 comments
Open on Reddit

Where to start with custom themes?

I'm a graphic designer who is doing more and more web work. I've got a pretty solid base of HTML and CSS built up but my PHP skills are lacking at this point. Besides the obvious of just learning more PHP (which I intend) where's the best place to start creating my own Wordpress themes. I see a lot...

0 points6 comments
Open on Reddit

[Q] Wordpress Multisite/IP change

I have a server that has a Wordpress Multsite install with only 2 sites set up. I was doing some testing with it on my company's internal network but now I'm going live with the whole thing which means the IP has to change (our network guy has different IP ranges for internal and external IPs). I've...

1 points0 comments
Open on Reddit

[Question] Using an IF statement on an RSS tag?

I'm parsing an RSS feed with SimplePie. I'm pulling thumbnails from the feed. The problem is that some of the items in the feed do not have a thumbnail (and no tag, null). How would insert a default image on every entry that didn't have a thumbnail? Here's my little bit of code, <p><img src="<?php e...

8 points7 comments
Open on Reddit

How secure is Wordpress Multisite?

Is anyone using it for anything other than testing environments? I want to go live with it because it would be so much easier to maintain client sites. I'm scared about losing 20 sites if one gets compromised though. Should I worry about this? Is the shared data base an issue?

1 points5 comments
Open on Reddit

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.