CSS margins: aligning a list against a float-left image

The following is my first cut at coding-up a reddit-like comment in html+css. I have a few questions about css and the general structure: How do I get the comment body ("The King took off his...

WordPress with Yahoo! Hosting... Almost there

EDIT: Yeah, so this problem is really unsolvable. Yahoo prevents access to .htaccess, even from WordPress itself trying to change it. I had to settle for writing a script on the default homepage...

jQuery load() and Facebook Comments

Long and short of it: Facebook comments aren't displayed when loaded from another page in a lightbox-type thing via jQuery.load(). FB comments are displayed when you go directly to the page being...

How to add second permalink to page?

I have a page with a URL like http://www.example.com/subcategory/therealthing. This URL should stay like this but I need to create a shortcut that looks like http://www.example.com/realthing That...

Link to comment within issue in JIRA

Given an issue in JIRA with multiple comments, is there an easy way to link from one comment to another? I can use the permalink, but that's a very long and ugly URL. I can also link to e.g....

Migration of Wordpress sites to a local WAMPserver, now the pages cannot be found

Recently at our agency we needed to do a serious overhaul of our servers, so I've had to migrate the sites onto a local host machine so that I could work on them in the meantime. I used WAMPserver...

Catching whole tag in RTF

I have a system which handles document workflow in rtf. It works great with standard Rtf. And i know the regex able to handle it in word 2003. I wish to be able to handle word 2007. My tags looks...

Enabling pretty permalinks on Wordpress - apache configuration does not work

Probably this error has a pretty easy solution but I've been looking way to long at this and still don't get the error. I think I've tried whatever I could. Problem: when I enable pretty...

woocommerce pagination not working

On my locally hosted site is the woocommerce pagination not working properly. When I use http://localhost/sample-post/ the second page is a wrong one. I'm landing on an attachment page instead of...

Wordpress “Post name” permalinks not working

I have a Wordpress website running on Lamp Server on Ubuntu Server 14.04. I just tried to use the option for Post Name permalinks, and now my pages no longer load up. I turned on the mod_rewrite...

Show category names for each post inside a loop in Wordpress

I'm modifying a pre-built theme to display 3 'featured posts' before the main grid of all posts on the index.php home page. I thought that the best way to do this was to do another loop before the...

NGINX wordpress 404 for all subpages

I have two problems but I think they're related. Subdirectories like /wp-admin, /blog return 404, consequently, permalinks do not work as they follow /blog/category1/page.php My setup: I have a...

How can I place a meta value in rewrite rule for custom post type?

I've completely re-written this question as it got a bit long, and I was worried people skipped it without reading it completely. I have a custom post type (procedure) that features a custom meta...

How to efficiently compare 2 objects with varying keys but potentially matching values?

I have 2 objects, 1 that comes a SQL database and the other that comes from a JSON REST API. Prior to updating a row in the db with new data from the api I want to check not only if the ID already...

wordpress delivers wrong page

Currently running WordPress 4.9.5 using the Divi theme with Permalinks set to use Post name, I can enter a url (page title/name) that does not exist on the site and WordPress will deliver a page...

Replace links on post save/update in Wordpress

I would like use short urls in wordpress post content (not the post permalink). So when I setup a new link in my post content, I would like if this url will be shortened with a service. I have an...

Force SSL on htaccess for WordPress date redirects

I have a long-time blog that was using the day and name format: https://www.example.com/2018/05/30/sample-post/ After the first year, I decided that I would be better off without the date in the...

Wordpress - Custom taxonomies not working with permalinks - 404

I'm new to wordpress and I've been through the Codex on CPT and custom taxonomies thoroughly along with several tutorias. Apparently I am missing something, but I have not been able to figure it...

Wordpress Custom Post type Category View with Pagination

I have a custom post type 'charters' and within my category.php page I have a loop pulling in 'charter' posts for the current category id. I have a custom pagination setup displaying page numbers...

CPT not using archive-{post_type}.php

I have a Custom Post Type set up in WordPress (code below) and an archive-team.php in my theme but when I visit example.com/meet-the-team/ its not using the archive template as it should do. It...

Use product sku in woocommerce as the permalink url

I am working on the woocommerce site for a large company with thousands of products. Each product has a unique numeric sku in its details, such as 9000067. Each product also has an insanely long...

Wordpress Error: "an error occurred while processing this directive". Debug.log output available

Hope someone might be able to shed some light on this one. The error is very generic and seems quite unpredictable. Happens on some page loads, not others, and when it does, if you refresh a few...

Flattening PDF fields removes formatting

I try to flatten form fields (PDAcroForm.flatten()) in a pdf, which contain rich text. When doing so the formatting (bold, italics, color, size) get lost. It's not edible any longer, but the...

How to use regex scraping json values

I have been trying to learn regex and once again I got stuck. What I am trying to scrape is a value of: var preloadedItems = [ { "id": "8971", "permalink": "https://www.randomsite1.com" }, { ...

Replacing Wordpress Category with Static Page?

I'm rehashing a Wordpress question from 4 years ago that had an approved answer, but that solution no longer works in the current version of Wordpress. The original question:...

Rust dynamic dispatch on traits with generic parameters

I have the following Rust Playground permalink which is from my following Ray Tracing in a Weekend. At the point of implementing materials I chose to create a trait Material. My thinking was that...

How to Internationalize Sphinx (i18n)

From the defaults following an execution of sphinx-quickstart, how do I get language-specific directories like what's used by Read The Docs? I'm starting a new Sphinx documentation site that's...

Hexo cannot display "next" theme

Noob here. I want to build a personal blog using Hexo with theme next, but I met some problems (no problems with other themes, e.g. landscape). I typed hexo s -g Cmd line returns INFO Validating...

Changing RedirectMatch to RewriteRule for OpenLiteSpeed

After changing the Wordpress Permalink structure, I was using RewriteMatch in the .htaccess file to create 301 redirects for all of the pages. RedirectMatch 301...

Having trouble with same-site cookie and redirect from external website

I have implemented a same-site cookie which we use as SSO for our 3 webapplication. When using them all with eachother it works perfectly. However we have an external CRM where we link to a user...