Skip to content

u/ladycodemonkey

In this archive from Oct 2015 to Sep 2025

13
posts
112
comments
0
media
215
score

ACF is pretty easy to use. A repeater is probably want you want. When I first started using ACF, there was a little bit of a learning curve, but now I wonder how I ever got on w/o it.

I'm using it on a project now for a bathroom remodeling company. They have a 'look book' of sorts where users can browse through some of the fixtures and such that they carry. Each item has a long ass table of specs that would be a pain to code out by hand. ACF turns it all into simple, if monotonous, data entry.

2 points

If you use a fluid grid system for the portfolio and have each thumbnail open to a larger view in a lightbox, that would work.

Even an inline (horizontal) list that wraps would work, like this:

<ul class="portfolio">  
<li>[thumb1]</li>  
<li>[thumb2]</li>
<li>[thumb3]</li>
<li>[thumb4]</li>  
<li>[thumb5]</li>  
<li>[thumb6]</li>
...etc...  
</ul>  

In your CSS, you would style it something like this:

.portfolio { margin-left:0 ;  
padding-left:0 ;  
list-style-type:none ;  
}  
  
.portfolio li { display:inline-block ;  
-webkit-box-sizing: border-box;  
-moz-box-sizing: border-box;  
box-sizing: border-box;  
margin-right:-4px /* this gets rid of the funky space that inline-block can sometimes force */  
padding:12px ;  
width:25% /* this gives you a 4-across grid on desktop */
}  
  
.portfolio li img { display:block }

And then in your media queries you can set new widths for the <li>:

For tablet in portrait view (landscape should still be able to use desktop <li> widths):

@media only screen and (max-width: 768px) {
.portfolio li { width:33.3333% /* gives a 3-across grid */ ;  
}  
}  

And for smartphones (landscape):

@media only screen and (max-width: 480px) {
.portfolio li { width:50% /* gives a 2-across grid */ ;  
}  
} 

And for smartphones (portrait):

@media only screen and (max-width: 320px) {
.portfolio li { width:100% /* gives a single column grid */ ;  
}  
} 

Hope that helps!

4 points

I use WordFence for security. It helps protect against a number of different types of attacks. You can also block IP addresses. Securi is supposed to be good as well, though I've not tried it personally.

1 points

Check to see if your domain is blacklisted somewhere. Google checks incoming mail headers for potential spam / malware and if the source domain is on one or more of several blacklists out there, it won't let the email through. It won't send it to the junk folder or anything. It simply won't let it through.

2 points

There are 2 files involved in what you want to do.

In your functions.php file look for a piece of code that looks like this:

add_action( 'widgets_init', 'my_register_sidebars' );  
function my_register_sidebars() {  
... (list of widget areas)  
}

Then add your custom widget area to that list like this:

    register_sidebar(  
        array(  
            'id'            => 'top_banner',  
            'name'          => __( 'Top Banner' ),  
            'description'   => __( 'Top Banner Widget' ),  
            'before_widget' => '<div id="%1$s" class="widget %2$s">',  
            'after_widget'  => '</div>',  
            'before_title'  => '<h3 class="widget-title">',  
            'after_title'   => '</h3>',  
        )  
    );  

When you go to your WordPress admin panel and go to Appearance > Widgets you'll see that the new widget area you created appears in your list of Sidebars / Widget areas.

To have the widget area actually show up on your website, open up your header.php file and place the following code to insert your widget area into your theme:

<?php dynamic_sidebar( 'top_banner' ); ?>  

Note that you will probably have to make adjustments to your HTML and CSS to fine tune its display within your theme.

1 points

Use Advanced Custom Fields to create custom fields for title tag, meta description, and any other meta tags you want, then call those fields in your theme's header.php file. Voila. The ability to have custom title and meta descrips.

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.