Help with WP_Query custom loop
- or -
Post a project like this2979
$$
- Posted:
- Proposals: 5
- Remote
- #1033653
- Completed
Description
Experience Level: Intermediate
Estimated project duration: 1 day or less
General information for the website: Help with WP_Query custom loop
Kind of development: Customization of existing website
Description of requirements/features: I need help with the code for a custom WP_Query loop, so that I can show a different layout and content depending on the custom post type.
I have x2 custom post types: 'latestnews' and 'newsletters' - A very basic example of what I'm trying to achieve is:
WP_Query loop
if is 'newsletters'
newsletters content with download PDF link
if is 'latestnews'
latestnews content
end
Kind of development: Customization of existing website
Description of requirements/features: I need help with the code for a custom WP_Query loop, so that I can show a different layout and content depending on the custom post type.
I have x2 custom post types: 'latestnews' and 'newsletters' - A very basic example of what I'm trying to achieve is:
WP_Query loop
if is 'newsletters'
newsletters content with download PDF link
if is 'latestnews'
latestnews content
end
Gareth L.
100% (17)Projects Completed
25
Freelancers worked with
17
Projects awarded
21%
Last project
24 Jan 2017
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies