Skip to content

u/mdnash

In this archive from Oct 2010 to Jan 2020

22
posts
69
comments
5
media
878
score

A stupid question about loops

I have a loop that calls all my post titles of a CPT, each of with starts the the same X characters. Example: XXXXX Post 1 XXXXX Post 2 etc How can I remove the 'XXXXX Post ' so all that is displayed is: 1 2 etc For kicks, here's my loop: <?php wp_reset_postdata(); $state_list = new WP_Query(array(...

1 points7 comments
Open on Reddit

Please help me add an 'active' class to the current page within a loop calling a list of my custom taxonomies and their respective post titles

I tried to find this in the search bar but I may not be searching for the right terms. Below is my loop: <?php $custom_terms = get_terms('my_custom_taxonomy'); foreach($custom_terms as $custom_term) { wp_reset_query(); $args = array('post_type' => 'my_custom_post_type', 'tax_query' => array( array(

2 points4 comments
Open on Reddit

Which are your favorite typefaces?

Obviously it depends on the project but you know you have your go to fonts. I really love Archer but my boss hates slab serifs so I never get to use it. Recently I have found that I use Register Sans and Avenir quite a bit – Gotham too . Stempel Garamond is always a classy choice for a serifed face....

4 points14 comments
Open on Reddit

Question about Android app design

Hey Designit! I was wondering if anyone knew what the restrictions are for menus when designing for Android. I have the developer pages open but I cannot seem to find what the background color is supposed to be as well as the amount of menu items that can be displayed at once. Thanks!

3 points4 comments
Open on Reddit

End of this list.

Back to top

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.