I have a sidebar that displays child links of the current page (using this solotuin […]
Tag: conditional-content
How to not show post_thumbnail from specific category for not logged users
Can you guys help me with some examples so i can sort out the thumb […]
Displaying a widget in sidebar only when no other widgets rendered?
I am working on a custom theme, basically migrating a current sites look and feel […]
Performance-wise, is it better to enqueue a (small) script on every page or test to see if it’s needed?
I’m using the FitVids.js script to make YouTube video embeds work with a responsive layout. […]
Show content after the first and second paragraph
The function below is used to show certain content after the first paragraph. I would […]
Conditionally load CSS/JS/PHP in wp-admin if using a mobile device
I’m looking for a way to conditionally load different scripts if the user is accessing […]
Reordering Buddy Press profile navigation
I am using this code to reorder the positions of the menu items for BuddyPress […]
Exclude custom function content from certain pages
I have added a small custom function to display a little author bio blurb at […]
Conditional Ajax inclusion
I have a custom interface that uses 30+ ajax files while running… some files are […]
Change a url / link if a user is logged in?
I’m working on some themes for a multisite and would like to modify the code […]
No More Posts Available.
No more pages to load.