My problem is two-part..
First, I want to grab images from the WP gallery and display in an unordered list. It is a row of company logos, all evenly sized and spaced, so an unordered list seems the best way to display.
Secondly, this should remain incredibly easy to edit by the site admin (no uploading and hovering over things to get ID's and definitely no code manipulation when images change over time).
So how can I grab a set of logos, where there may be 4-7 depending on how many the site admin wants to add, and place them in an unordered list?
If possible, I would like to lock in text for the first and last li with text.
I've searched images and categories, but unless I'm missing something, images to not have category attributes OOB.
You can use visual composer or wp bakery page builder. You can set group image gallery and also single image. you can build your customize page.
Related
I'm running into a problem pulling in category images in dynamically to a li. Im kinda new to Wordpress and have no issues building the theme but sometimes run into issues pulling in the content I need. Heres what i'm looking to do.
I have a section on this site(http://www.moderateindividual.com.php53-13.dfw1-1.websitetestlink.com/) "News Topics". Each icon (image box) will be a category and the image will be associated with the category. Im going to use ACF to attach the image to the category but I need to be able to pull those images into the li dynamically and each time a new category and image is added in the back end, it needs to just automatically load on this list. I also need to be able to EXCLUDE some categories that don't belong on their. For instance the homepage hero slideshow is loaded via a category, so I would need to leave that category off the list. When that image is clicked it also needs to load the category title and description in the blue box below.
So this is my problem i'm trying to solve. If anyone could steer me in the right direction I would be very grateful.
Thanks
-Dan
So we have a drupal site and it is an article intense site.
We have a bunch of articles that are categorized.
On the home page there is a hero slider and 3 thumbnails boxes below it that contain articles as well.
The default logic is that the home slider is pulling the most recent articles posted. The issue is that one of the thumbnails below it pulls the most recent article as well.
How do we make it so that the article that appears in the home hero slider never matches what is in any of the 3 thumbnails below it?
Any help is greatly appreciated!
Under PAGER section of the View, you will find an Offset setting, you could use this to skip some nodes from the second view so it skips the nodes already shown by the first view, of course, in order for this to work, both views need to be using the same sorting logic.
If the criteria for sorting is more complicated or the nodes are manually selected for each section, then you have to use another taxonomy term to "mark" those nodes intended to appear in the Hero section from the nodes somewhere else.
I'm having a site where i would like to show posts from other blogs. I want to integrate it into my website, therefore i need to scale down the images and place it inside and div. I know i get get the content from the blog /feed?=json, but since i need a little more freedom on the image size, what would be the best solution?
You want to post from a feed into WP directly? If you want work with the content and image size, you might need to add new posts per article.
I want to change the way my 'latest/recent posts' are displayed. Currently they are using a very large thumbnail with a large H1 Heading above it.
I want to make the thumbnail images smaller into a square dimension, and have both the heading (title) and the text directly to the right of that thumbnail image. I'd also like it to be encased in a box/border.
I also want to add a "Latest News" or "Whats New" Banner right above my latest/recent posts.
Keep in mind I am using Wordpress. That being said, which file do I edit/code? And what are the lines.
Here is my current post layout/design: http://puu.sh/74mhm.jpg
and Here is a perfect example of my desired result: http://puu.sh/74mj5.jpg
Thanks in advance all.
Cheers!
Go to your theme and edit the index.php, this is the file that formats your post list. Wordpress has a number of ways to format posts though from CSS to the admin console so editing template files should be your last resort.
I would like to create a nav menu that displays all the pages of a wordpress site, its layout similar to what you would see in a footer sitemap layout, approx 5 columns with all the pages shown. Each page will be a project. I want to use wordpress category checkboxes (like you have for posts) to allow selection of one relevant category for each project page. Each page will then show a category caption below the project's description text, this I will style with CSS so each category has a different background colour.
Because Wordpress doesn't provide categories for pages, I have found a plugin to add this category feature to pages called ninja-page-categories-and-tags: http://wordpress.org/extend/plugins/ninja-page-categories-and-tags/
It's possible to edit the plugin php code under basic-functions.php to return a 'class' for the category displayed using get_slug and then applying css for each.
My problem is that on the menu, which will be a secondary menu in Thirty Ten displaying the pages, I want to be able to colour the background of each link to match the category that has previously been assigned to each page using the ninja plugin. Because the menu works with pages and the categories are not directly linked to the menu items (firebug will not show category details in the html of each link to reference with the css) I am wondering how I can colour each link based on category? Any ideas?
Ultimately what I would like to achieve is a grid of page links that are all coloured based on their category, a colour coded menu.
The plugin uses the standard wordpress category functionality but I just can't think how to connect these category details to the menu items to allow me to style them with css, any help would be really appreciated, even if just a point in the right direction.
Thanks
It's difficult to understand exactly what you're after, but essentially if you want to add extra classes to menu items (which will allow styling), you need to create a custom walker function.
Have a look at a tutorial like this: http://wp.tutsplus.com/tutorials/creative-coding/understanding-the-walker-class/