Skip to content

u/HSoup

In this archive from Dec 2012 to Nov 2022

1
posts
87
comments
1
media
213
score

Yeah, that img1 subdomain is fucking your shit up. I setup a redirector that replaces all requests to that server to the main domain (alexanderthomas.photography) and the site renders fine (proof).

There are a few quick and dirty fixes, but first you have to figure out where that shit is coming from. You can strip "https://img1." and replace it with "https://" on a database level, but that would only work for hardcoded references in your pages and posts. For some reason, wordpress thinks several of your assets have a different subdomain.

2 points

.htaccess:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

​

RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
RewriteCond %{REMOTE_ADDR} !^223\.222\.101\.202$
RewriteCond %{REMOTE_ADDR} !^111\.222\.101\.202$
RewriteCond %{REMOTE_ADDR} !^222\.222\.101\.202$
RewriteRule ^(.*)$ - [R=403,L]
</IfModule>

2 points

I looked at spicepress. Both solutions worked fine. Even your solution worked fine. I don't think you're changing the files or changing the right files.

Wordpress isn't stopping you from saving, your webserver doesn't allow file modifications via the editor, I'm guessing. Gotta edit the files directly.

1 points

put this at the top of the breadcrumbs file just after the php tag, if it is what's generating them:

    return;

If that doesn't do anything, then it's not generating the breadcrumbs.

For just hiding via CSS,

.page-breadcrumb{
    display:none !important;
}
2 points

Copied from https://wordpress.org/support/topic/how-to-make-yourself-keymaster/

Go to phpMyAdmin, find the user_id from the wp_users table (let’s say it’s 30), then select all metas from wp_usermeta:

SELECT * FROM wp_usermeta WHERE user_id = 30

There you should see a record with meta_key = wp_capabilities

Edit this record and change bbp_moderator to bbp_keymaster, leaving everything else intact. (Assuming you assigned yourself a Moderator role beforehand).

In may case I had to replace this:

a:2:{s:13:"administrator";b:1;s:13:"bbp_moderator";b:1;}

with this:

a:2:{s:13:"administrator";b:1;s:13:"bbp_keymaster";b:1;}    
2 points

It's a style applied to the page-title, I'm guessing. You have to modify the css (or override it) to remove it, unless it's inline, but that seems unlikely. The title is built into either the single or page template, depending on the age of your theme, but the "style.css" or a theme css file is applying the height.

You can right click on the word ABOUT (in the gray area) and choose "Inspect..." to see what actual style is applying the padding.

1 points

Add the class "measurments" to your table. Set the style for table.measurments to be display none, or add this to your page (so by default it'll be hidden).

<style>table.measurements{display: none;}</style>

Put this button somewhere else in your page.

<button onclick="$('table.measurements').toggle();">Show/Hide Measurements</button>

If you want the data to load when it's clicked, that's a different problem that either requires a reload of the page or an ajax call.

This solution will do what you're asking, but I have a feeling you're wanting a different result.

1 points

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.