I created a virtualenv around my project, but when I try to activate it I cannot. It might just be syntax or folder location, but I am stumped right...
I’m trying to only show posts that a user hasn’t seen, like this: $exclude = array(1,2,3); $include = array(3,4,5); $args = array( 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page'...
I would like to have a way to reference the project’s manifest version number in the main part of the code. What I have been doing up until now...
Is there a way to add a horizontal scrollbar to an HTML table? I actually need it to be scrollable both vertically and horizontally depending on how the table...
Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or...
I have the following: answers = Answer.objects.filter(id__in=[answer.id for answer in answer_set.answers.all()]) then later: for i in range(len(answers)): # iterate through all existing QuestionAnswer objects for existing_question_answer in existing_question_answers: #...
Is there any hook which is triggered when an image is edited (crop/re-size whatever)? I need to send an email notification to an admin user when an image will...
I would like to customize the background (and maybe the border too) of all of the UITableViewCells within my UITableView. So far I have not been able to customize...
I need to write code before user can enter username and password. So, I have code written just after the following line in wp-login.php page: $action = isset($_REQUEST['action']) ?...
I’m trying to submit an app with the Xcode 6 GM, and I get this error on validation. The app has an action extension and a dynamic framework that’s...