Post source link plugin – small modification
I’m using a little plugin that allows me to add source link to every article. I found the code in this thread: Article source link for posts
I’m using a little plugin that allows me to add source link to every article. I found the code in this thread: Article source link for posts
I have a website in WordPress and a page with a list with letters like this:
I see a lot of plugins making use of object-oriented coding when there isn’t really necessary.
I created a custom content template, assigned it to a page and coded the query.
I’ve made my own PHP page and used it as a part of my WordPress website. I’m using some WordPress functions and want to have it fully integrated with WordPress itself.
I’m trying to create a archive list with only my “normal” post format articles (not link, aside, quote, etc formats).
<div class="menu"> <ul> <?php wp_list_pages('exclude=&title_li='); ?> </ul> </div> creates the following output… <div class="menu"> <ul> <li><a href="#" rel="nofollow noreferrer noopener" rel="nofollow noreferrer noopener" rel="nofollow noreferrer noopener" rel="nofollow noreferrer noopener" rel="nofollow noreferrer noopener" rel="nofollow noreferrer noopener">Page 1</a></li> <li><a href="#" rel="nofollow noreferrer noopener" rel="nofollow noreferrer noopener" rel="nofollow noreferrer noopener" rel="nofollow noreferrer noopener" rel="nofollow noreferrer noopener" rel="nofollow noreferrer … Read more
I am trying to create a shortcode to display the posts count in a category.
I have successfully done this using this code:
Is there a way to temporarily disable revisions…. I have noticed that wp_update_post is very slow and creates revisions I don’t need.
The fix could be to disable revisions before issuing wp_update_post and re-enable the feature once done….
I was wondering whether it is possible to completely disable a function that is called in a parent theme’s functions.php and if so, how? (Of course without deleting the function. Rather by adding something to functions.php of the child theme.)