394 reputation
112
bio website
location
age
visits member for 2 years
seen 17 hours ago

Apr
19
comment pages won't show on front page using loop or pre_get_posts
I am trying to do it because I am trying to make a one page WordPress site. I am trying to do it based on template hierarchy but it doesn't work. I fixed the issue above but now my issue is that it won't display the templates. It only displays the page content
Apr
19
comment pages won't show on front page using loop or pre_get_posts
You can include templates because I have done it. It just won't work the way it is set up right now. The code above is in front-page.php. I am trying to get the pages to show in that. For some reason it won't work. When I was doing the include, I just put in some code to say that if it was the homepage template then don't include that one.
Apr
18
asked pages won't show on front page using loop or pre_get_posts
Apr
17
awarded  Critic
Apr
17
comment Control resizing of uploaded images
because that is the opposite of what I am trying to do. I am adding a custom script to my site to handle the images. I am going to use WordPress built in features with the script. If you add image size then it will add those sizes plus all the others. I am also not talking about the post thumbnail in this question
Apr
17
comment add_theme_support( 'post-thumbnails', array( 'post')); is not uploading the file
are you adding the image from the featured image in the post edit screen? does the image show in the post edit screen? What does your page source show? what is the process that you are taking to add the image?
Apr
16
asked Control resizing of uploaded images
Apr
15
comment Nivo Slider Pulling In Wrong Size Image
Have you checked the code in the theme? It might be calling a specific image size in the theme files.
Apr
9
accepted get post by nav id
Apr
8
accepted Get page IDs from nav items
Apr
6
comment Get page IDs from nav items
It took me a while to get the code that I posted above to work. I have been trying to add your code in but I have not been able to get it to work. I took out the foreach loop and tried your line above but got nothing. How do I use your example?
Apr
6
revised Get page IDs from nav items
edited title
Apr
6
asked Get page IDs from nav items
Mar
31
awarded  Yearling
Mar
30
asked get post by nav id
Mar
29
comment add_image_size() to crop images into squares?
well then maybe I don't understand what you are talking about. When you put in this plugin, you would replace the featured image with a call to the aq_resize function instead. So every image uploaded by the uploader would automatically be resized to whatever size you tell it. Like so aq_resize(510, 256); You would have to do the same thing with the featured image because you would have to call every image size that you created with add_image_size. Maybe you should add more information in your question so it makes more sense. This script resizes each image on the fly.
Mar
28
comment add_image_size() to crop images into squares?
That plugin can be easily integrated into your theme. You upload the folder and use and include in the function.php file. It doesn't have to be a plugin.
Mar
28
answered add_image_size() to crop images into squares?
Mar
28
accepted pre_get_posts returning unformatted page
Mar
28
comment get_post_meta property of non object
Upon further review. I don't think there is anything wrong with my code. I am only getting it on one page which doesn't make any sense. So I must be getting the wrong line as the error.