Updating custom post meta with ajax
This AJAX function gets called on a click:
This AJAX function gets called on a click:
Is there a good tool to analyze my rewrite rules? I always get confused with the regexes and the parameter replacements. I have created something myself and will post it here so others can use it, but please feel free to add other tools! Answers: Thank you for visiting the Q&A section on Magenaut. Please … Read more
I want to add custom PHP code to ensure that whenever a page on my site loads in my browser, the URL of that page is echoed to the screen. I can use echo get_permalink(), but that does not work on all pages. Some pages (e.g. my homepage) display several posts, and if I use get_permalink() on these pages, the URL of the displayed page is not returned (I believe it returns the URL of the last post in the loop). For these pages, how can I return the URL?
Given this custom post type:
When you activate a wordpress theme, it’s always a hassle to find out which file to go to change things.
Any idea how to simplify things?
I created a ‘forum’ taxonomy, using these rules:
Is there a way to resize images to the actual size they will be shown in the post? I have users that import a large image and then resize it in the visual editor. This is easy, since they can just drag the image until it is the size they want, without first opening an image editor, resizing the image, saving it, and uploading it as a separate attachment. Of course, this sometimes results in an image that is 100px wide in the post, but 1500px in reality.
I am trying to add a form where users can submit post from front-end.
I’m working on a WordPress site for my band and I’d like to mark every 3rd post on our blog page to have a special class applied to it, anybody have any pointers on how to achieve this? Any help is very very appreciated, thanks! rock n roll.
I have a custom post type called portfolio and I’m trying to add the tags taxonomy to it, how do I do this?