maximum image width for a wordpress theme (or any theme, really)

In word press, if you upload an image, and let it display in 100%: if it exceeds its containers width, the theme will either: a) be broken, messing up the layout of the page or b) hide the extra...

How to reuse parts of WordPress site e.g. header, footer, part of header for multiple WordPress sites?

I am looking for a solution to reuse the header and footer navigation links (with style, of course) in one of my WordPress website for several other WordPress sites. Please note that I'm trying to...

Git, sub-repos & external libs for web development - best strategy once and for all?

This is such a common scenario that there must be a sensible solution, yet despite pages of reading and copious Git gymnastics, my brain aches and I'm unable to make this work... I'm working with...

NullPointerException on Back Button Press

I am in the process of updating my app and right now I am getting NullPointerException when I press the back button. Here is my main activity: When clicking music my second activity is launched...

Is there an alternative to wp_list_categories

I would like to display a list of all categories, using their hierarchy. I want to use jquery to manipulate other objects when the categories are clicked, so I need to remove the links that are...

Permalinks don't work on nested Wordpress install

I have a Wordpress install on AWS Ubuntu, it's installed in /var/www/ Now I am trying to add a help section to my site, and I want to use a different theme so I have to install another copy of WP,...

Wordpress - Nested Shortcode from 2 different plugins half working

I am trying to use the Print This Section plugin with WP-Invoice and have been struggling for days now trying to figure out where the problem is? With Both WP-invoice installed and working and WP...

Need regex search and replace through hundreds of Wordpress pages - where to start?

I need to clean the content of a wordpress site where the client has used the visual editor to style content across hundreds of pages resulting in a mess of nested span and style tags that need...

php wordpress shortcode in excerpt

I am looking for away to use shortcodes in post excerpts that will be called via: $post_object->post_excerpt; I have the function set up to pull the excerpts but I am struggling to pull the...

jQuery organisational chart plugin suitable for wordpress category loop

I am making family tree portion of the wordpress site I am building. On the admin side, administrator should be able to set child or parent entries and create a family tree structure. Each node...

Add Child or Sub-Level Class to WordPress Admin Pages Table List

I want to submit a patch to WordPress core and this is the outline: The Problem: Styling a Large WordPress Admin In the WordPress admin, there's a big table (#the-list) for the list of pages. The...

nginx, www to non-ww, tried a dozen solutions

I have an small VPS hosting one wordpress website. I use ngingx 1.4.4 on Debian 12.04. I follow some tutorials i found online and here is what i managed to make. Here is my server block: server...

Wordpress 3.8.1 TinyMCE does not seem to be rendering my pages' <div> elements

I've created several pages in wp-admin and inserted the needed HTML. Each page contains multiple nested div elements. An example of one of my pages is the following Contact page: <div...

Create Custom Settings Page for WordPress Custom Post Type

I have a WordPress Custom Post Type that I have created. The CPT created fine and was added successfully to the WordPress menu. I created the CPT with this code: /** * Registers the WPBP custom...

Trouble getting CSS box-shadow to work with fixed header and footer

I built a website with fixed header, fixed footer, and scrolling body atop WP 4.0 "Twenty Twelve" theme. Trying to apply boxshadow below header's gray area and above footer's gray area, but cannot...

HTML/CSS - <input> width

Whilst there has been some input on this, the question of width control of <input> remains open. This problem relates to a WordPress site, but is reproducible in a very trivial form. Context: I...

Android JSON Nested Arrays

I've tried to imitate the chosen answers in this sort of problem but I'm unsure why I'm failing to retrieving the URLs of the "attachments" in this. What I'm after is a way to get every "post" and...

How to target dynamically named element ids with jQuery (wordpress)

I'm building a wp theme that calls all pages made to the home page. Those page (post) ids are named dynamically using the following php id="post-<?php the_ID(); ?>" They end up being named...

Displaying a db table row that matches WP post-id into an html table

Need some guidance. I've built a volleyball club site in Wordpress ([http://goo.gl/2Y0j10][1]) and we've solicited player profile data from parents that I'm capturing in a Google form/spreadsheet,...

Displaying db table row that matches WP post-id

Need some guidance. I've built a volleyball club site in Wordpress and we've solicited player profile data that I'm capturing in a Google form/spreadsheet, saving as a .csv then importing into a...

Create some filters for a WP site

I've to create some product filters for my WP site. I found this PHP script: $GLOBALS['my_query_filters'] = array( 'field_1' => 'forma', 'field_2' => 'posa', 'field_3' =>...

Advanced Custom Field post object inside 2 nested repeater is not working

I am trying to achieve like this.. I am trying to show a post object as repeater inside 2 nested repeater field.. I am using this repeater and post object in a page template called page-bagels.php...

Passing variables into WP shortcode - Events Manager plugin

php beginner here - forgive my naivete.... Just found this wonderful community. I'm creating a site using the WP plugin Events Manager. The plugin provides some "out of the box" shortcodes which...

Nginx Wordpress Subdirectory - Hiding Subdirectory Folders

I'm attempting to serve a wordpress blog from my laravel App, however the actual wordpress build is nested a few levels deep within the site root and I need to exclude certain folders from the...

Woocommerce site load issue with multi level product category

I have a woocommerce installation with variable products. Basically iits a catalogue that users can view and place bulk order. There are over 50K products (with variation). There are nested...

Using a URL query string variable in a Wordpress page or post

I want to access and use a variable passed in the URL within a WordPress page (not a template file, but the page itself). Here's what I'm trying to accomplish. I want to create a single page...

Querying WordPress WP-API for lots of posts (using promises!)

I am working on a Node.js application which uses the WordPress JSON API as a kind of headless CMS. When the application spins up, we query out to the WP database and pull in the information we...

My WordPress page is bugging after migration

I recently changed my site's host provider, and in the process I also changed my domain name. www.vægbyg.dk -> www.vaegbyg.dk I downloaded/uploaded my database through "phpMyAdmin", and used...

nested: QueryParsingException[[multi_match] query does not support [fields]];

im new to Elastic press and got some problems on Wordpress multi-network site and got this exception when trying to execute WP-query: Caused by: SearchParseException[failed to parse search source...

Ways to create reusable sets of fields in Wagtail?

I'm evaluating Wagtail to see if I can find a place for it along side Wordpress and Drupal in my company. So far I think it's interesting and really like a lot of it, but there's one thing I would...